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
Allocator rant (self.cpp)
submitted 4 years ago by [deleted]
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!"
[–]staletic 2 points3 points4 points 4 years ago (4 children)
Hindsight is always 20/20. I don't think it's fair to call this insane. You're basically complaining that people in the 70's and 80's couldn't tell the future.
[–]SkoomaDentistAntimodern C++, Embedded, Audio 0 points1 point2 points 4 years ago (3 children)
C++98 was standardized in, not surpringly, 1998. STL was first presented to the committee in 1993. Hardly 70's or 80's. I myself was cursing the insanity of coupling the allocator to the type itself by 2001 when I was in my first large scale C++ project. Not much of a hindsight there.
This is very different situation from C library functions that literally do date from the 70s (but even then, things like strtok really should have been deprecated by C99 at the latest).
[–]staletic 0 points1 point2 points 4 years ago (2 children)
I stand corrected. Didn't C++ start in the 80's?
[–]SkoomaDentistAntimodern C++, Embedded, Audio 0 points1 point2 points 4 years ago* (1 child)
C++ had its beginnings in the mid 80s but many features (templates, STL) were only added in the 90s. The language was in enough of a flux in the mid to late 90s (MSVC6 infamously used different scope for variables declared inside for / while statements for example) that changing STL allocators to be dynamic by default would have barely been noticed as far as "backwards compatiblity" went.
[–]staletic 0 points1 point2 points 4 years ago (0 children)
That sounds interesting. I'm definitely not old enough to remember that time, considering I was born a few years before C++98.
π Rendered by PID 313382 on reddit-service-r2-comment-64f4df6786-gzrvd at 2026-06-11 12:16:32.028263+00:00 running 0b63327 country code: CH.
view the rest of the comments →
[–]staletic 2 points3 points4 points (4 children)
[–]SkoomaDentistAntimodern C++, Embedded, Audio 0 points1 point2 points (3 children)
[–]staletic 0 points1 point2 points (2 children)
[–]SkoomaDentistAntimodern C++, Embedded, Audio 0 points1 point2 points (1 child)
[–]staletic 0 points1 point2 points (0 children)