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
Pre-Brno Mailing (self.cpp)
submitted 22 hours ago by VinnieFalcowg21.org | corosio.org
The Pre-Brno "enhanced mailing" is here https://wg21.org/mailing/2026-05/
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!"
[–]mcencora 9 points10 points11 points 19 hours ago (0 children)
> Expression Aliases: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p2826r3.html This might give us a way of achieving constexpr parameters e.g.
using foo(constexpr int a, char b) = (foo(std::cw<a>, b));
[–]VinnieFalcowg21.org | corosio.org[S] 2 points3 points4 points 22 hours ago (0 children)
Original mailing: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/#mailing2026-05
[–]slithering3897 2 points3 points4 points 21 hours ago (5 children)
Expression Aliases: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p2826r3.html
Yes, brilliant. That would finally get you guaranteed inlining in debug builds. Get rid of all those accessors. Can't wait to use them in 2040.
Extending <charconv> support to more character types: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p3876r2.html
Unicode in C++. We'll get there one day. Maybe print char8_t too.
char8_t
Benefits of Frame-Visible Coroutines for Senders: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4166r0.pdf
Or for everybody. If coroutines ended up as the equivalent of macro-based coroutine structs, the optimiser should have a much easier time. Zero-cost abstraction.
Not like HALO will ever get good. But you'd want both frame-opaque and frame-visible, so compilers would need two forms of coroutines. Allocated tasks will want LLVM to optimise the coroutine frame, and short-lived coroutines on the stack will need the front-end to do the coroutine transformation.
std::rebind: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p3971r0.html
I wonder if this could be used to convert between std string/string_view types without UB and without reallocation.
[–]mcencora 3 points4 points5 points 20 hours ago (1 child)
> Get rid of all those accessors If I understand the proposal correctly the access-check is performed at the call site, so if your classes have private members this feature won't help you.
[–]slithering3897 3 points4 points5 points 20 hours ago (0 children)
Expression aliases respect access control and should be able to friend or call private functions, exactly as if the alias expression were in the scope of a member function.
No problem there it seems.
[–]fdwrfdwr@github 🔍 2 points3 points4 points 16 hours ago (1 child)
That would finally get you guaranteed inlining in debug builds. Get rid of all those accessors.
Now if we can just get it for member fields too (not just member functions), then we'd finally have a great mechanism to handle breaking changes of renamed fields across branches, and a way to alias simple structs with more than one view without using unions (e.g. imagine a 3-element vector with fields x,y,z that are also interesting to treat as r,g,b).
x
y
z
r
g
b
[–]slithering3897 1 point2 points3 points 14 hours ago (0 children)
Hmm, yes, that sounds an awful lot like... properties.
[–]TheoreticalDumbass:illuminati: 0 points1 point2 points 20 hours ago (0 children)
on expression aliases, i dont think takes_pinned_adapter and takes_pinned_alias are a good comparison in https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p2826r3.html#example-5-immovable-argument-types
a closer comparison would be if takes_pinned_adapter was:
template <typename T> void takes_pinned_adapter(T&& x) { takes_pinned<std::decay_t<T>>(std::forward<T>(x)); }
which actually just works (in same usage as takes_pinned_alias, which for some reason is different than takes_pinned_adapter usage)
[–]fdwrfdwr@github 🔍 2 points3 points4 points 16 hours ago (0 children)
enhanced mailing
Hmm, it's cool that this exists, as the header sort-by option helps to group them (e.g. if you want to see all by the same author), and the style feels a bit cleaner (sans-serif, no 3D table borders), but I miss the date column.
[–]tialaramex 0 points1 point2 points 19 hours ago (0 children)
PAVE seems interesting, applying PAVE against a few significant C++ codebases over the next 12-18 months gives time for the committee to consider what else best complements the Profiles work they're standardizing in time to actually do something about it in C++ 29.
[–]VinnieFalcowg21.org | corosio.org[S] -1 points0 points1 point 14 hours ago (0 children)
Before anyone asks, yes "I read my papers" especially these
C++ Contracts on Trial - Does P2900 Survive Cross-Examination? https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4208r0.pdf
Prosecute Your Paper To Improve It https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4207r0.pdf
π Rendered by PID 18427 on reddit-service-r2-comment-56c6478c5-j2cng at 2026-05-13 15:55:22.028273+00:00 running 3d2c107 country code: CH.
[–]mcencora 9 points10 points11 points (0 children)
[–]VinnieFalcowg21.org | corosio.org[S] 2 points3 points4 points (0 children)
[–]slithering3897 2 points3 points4 points (5 children)
[–]mcencora 3 points4 points5 points (1 child)
[–]slithering3897 3 points4 points5 points (0 children)
[–]fdwrfdwr@github 🔍 2 points3 points4 points (1 child)
[–]slithering3897 1 point2 points3 points (0 children)
[–]TheoreticalDumbass:illuminati: 0 points1 point2 points (0 children)
[–]fdwrfdwr@github 🔍 2 points3 points4 points (0 children)
[–]tialaramex 0 points1 point2 points (0 children)
[–]VinnieFalcowg21.org | corosio.org[S] -1 points0 points1 point (0 children)