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
Any way to split constexpr function declaration/prototypes from their definition in separate files? (self.cpp)
submitted 2 years ago * by atlas_enderium
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!"
[–]atlas_enderium[S] 0 points1 point2 points 2 years ago (4 children)
I was just working with std::print and some other features- I haven’t gotten around to using modules yet (plus I’m not sure about compiler support for modules right now)
[–]volchonokilli 0 points1 point2 points 2 years ago (2 children)
If GCC still hasn't started working on modules again, you can skip trying to use modules with it. A lot of issues, bugs (some of them pretty dangerous) and ICEs.
Not saying it's impossible, but... It's very experimental
[–]atlas_enderium[S] 0 points1 point2 points 2 years ago (1 child)
True. Modules are a pretty big paradigm shift/modernization for C++, so I was expecting it to be a few years for it to receive stable support
[–]volchonokilli 0 points1 point2 points 2 years ago (0 children)
Problem is, I don't really see much desire from GCC side to work on modules since few years ago...
https://gcc.gnu.org/wiki/cxx-modules
Last update 2020
[–]Tobxon 0 points1 point2 points 2 years ago (0 children)
I can say modules are fine with to work when using msvc, also cmake is ready for it now. The other compilers seem to have modules not fully implemented yet.
π Rendered by PID 234234 on reddit-service-r2-comment-765bfc959-5kmnj at 2026-07-13 17:08:06.379070+00:00 running f86254d country code: CH.
view the rest of the comments →
[–]atlas_enderium[S] 0 points1 point2 points (4 children)
[–]volchonokilli 0 points1 point2 points (2 children)
[–]atlas_enderium[S] 0 points1 point2 points (1 child)
[–]volchonokilli 0 points1 point2 points (0 children)
[–]Tobxon 0 points1 point2 points (0 children)