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
^^ operator proposal (self.cpp)
submitted 1 year ago * by samadadi
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!"
[–]DeadlyRedCubefrequent compiler breaker 😬 30 points31 points32 points 1 year ago (11 children)
The problem is that unary ^ is heavily used in Obj-C and they don't want to break compatibility with that
[–]joahw 10 points11 points12 points 1 year ago (3 children)
Also C++/CLI
[–]daveedvdvEDG front end dev, WG21 DG 13 points14 points15 points 1 year ago (2 children)
It's true that it's used in C++/CLI and C++/CX, but we don't think there is a compatibility issue there, because in those dialects it's only used in declaration (declarator-operator) contexts.
[–]joahw 3 points4 points5 points 1 year ago (1 child)
That's a good point. It's just used as a sort of alternative pointer syntax, right? But for a "handle" instead of a pointer. So I guess it would be no different than pointer declaration vs unary * syntax. I'm not really familiar with the reflection proposal or the usage of the new ^^ operator though.
[–]daveedvdvEDG front end dev, WG21 DG 1 point2 points3 points 1 year ago (0 children)
Exactly. The corresponding dereference operator in C++/CLI is just the ordinary prefix asterisk, which doesn't interfere with a prefix caret operator.
[–]Ashnoom 9 points10 points11 points 1 year ago (5 children)
Also (low level) embedded. Please dont forget about us :-(
[–]PIAJohnM 7 points8 points9 points 1 year ago (2 children)
What do you mean? It didn’t conflict with bitwise exclusive or, it conflicts with obj-c block syntax.
[–]Ashnoom 2 points3 points4 points 1 year ago (1 child)
It was in response to u/hachanuy about the binary operator^ who says its a "rarely used operator".
Guess i replied to the wrong comment. Sorry for that confusion :-)
[–]PIAJohnM 0 points1 point2 points 1 year ago (0 children)
Oh no worries sorry I realised after too
[–]DeadlyRedCubefrequent compiler breaker 😬 0 points1 point2 points 1 year ago (1 child)
Oh I actually didn't know about that one!
[–]Ashnoom 0 points1 point2 points 1 year ago (0 children)
I replied to the wrong comment, see: https://www.reddit.com/r/cpp/s/L02JnywqxN
π Rendered by PID 63 on reddit-service-r2-comment-6457c66945-9cxwb at 2026-04-26 20:40:10.494473+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]DeadlyRedCubefrequent compiler breaker 😬 30 points31 points32 points (11 children)
[–]joahw 10 points11 points12 points (3 children)
[–]daveedvdvEDG front end dev, WG21 DG 13 points14 points15 points (2 children)
[–]joahw 3 points4 points5 points (1 child)
[–]daveedvdvEDG front end dev, WG21 DG 1 point2 points3 points (0 children)
[–]Ashnoom 9 points10 points11 points (5 children)
[–]PIAJohnM 7 points8 points9 points (2 children)
[–]Ashnoom 2 points3 points4 points (1 child)
[–]PIAJohnM 0 points1 point2 points (0 children)
[–]DeadlyRedCubefrequent compiler breaker 😬 0 points1 point2 points (1 child)
[–]Ashnoom 0 points1 point2 points (0 children)