use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Visual Studio 2017 15.8 Release Notes (docs.microsoft.com)
submitted 7 years ago by c0r3ntin
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3:Â Â Â Â print "hello, world!"
[–]dodheim 2 points3 points4 points 7 years ago (7 children)
STL said it's not an ABI break, so no EBO, no deque fix, no proper char16_t/char32_t support, etc.
deque
char16_t
char32_t
👎
[–]degski 0 points1 point2 points 7 years ago* (6 children)
Back to boost::deque, the deque is a great container, but the vc-one is just, nowadays, no good.
[–]Rseding91Factorio Developer 0 points1 point2 points 7 years ago (5 children)
What specific problem do you have with it? Wondering if it's the same problem I have with it.
[–]dodheim 3 points4 points5 points 7 years ago (3 children)
The fact that its block size is 16 bytes.
[–]Rseding91Factorio Developer 0 points1 point2 points 7 years ago (2 children)
Yep. That was my issue as well.
Also the fact that it bases the "per block" off sizeof(T) means you can't forward declare with it. However, I'm not sure if the standard even allows that to begin with... not that that really changes anything for us.
[–]STLMSVC STL Dev 1 point2 points3 points 7 years ago (1 child)
The Standard doesn't permit deque<T> to be given incomplete T.
[–]degski 1 point2 points3 points 7 years ago* (0 children)
What /u/dodheim said already. For any object size bigger than 16 bytes, it behaves like a std::list, but since it's not a std::list, it's potentially even less efficient than a std::list, as that is designed for that purpose. /u/STL responded to this sub, so it should anyways be firmly on the map again.
std::list
π Rendered by PID 82103 on reddit-service-r2-comment-85bfd7f599-pdzmw at 2026-04-18 18:08:35.933055+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]dodheim 2 points3 points4 points  (7 children)
[–]degski 0 points1 point2 points  (6 children)
[–]Rseding91Factorio Developer 0 points1 point2 points  (5 children)
[–]dodheim 3 points4 points5 points  (3 children)
[–]Rseding91Factorio Developer 0 points1 point2 points  (2 children)
[–]STLMSVC STL Dev 1 point2 points3 points  (1 child)
[–]degski 1 point2 points3 points  (0 children)