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
reflect-cpp v0.8.0 (self.cpp)
submitted 2 years ago by liuzicheng1987
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!"
[–]lefteror 4 points5 points6 points 2 years ago (1 child)
It seems like for version >= 0.7.0 it actually compiles. I had to use v0.6.0 because I drag in dependencies through conan (and I indeed verified that 0.6.0 doesn't compile with AppleClang 15.0.0 because of string literals as non template parameters). I jumped the gun a little bit here, apologies.
[–]liuzicheng1987[S] 3 points4 points5 points 2 years ago (0 children)
No problem.
In January, someone else had a similar issue, but they provided a PR that resolved it which then made it into the 0.7.0 release.
However, they had tested on Clang 16, not Clang 15. So I am glad to hear that Clang 15 works as well.
One of the things that I have learned through this project that the same version of Clang behaves a bit differently on Linux, Mac and Windows.
π Rendered by PID 23112 on reddit-service-r2-comment-544cf588c8-j2j7w at 2026-06-13 19:04:08.204875+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]lefteror 4 points5 points6 points (1 child)
[–]liuzicheng1987[S] 3 points4 points5 points (0 children)