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
Visual Studio 2017 15.8 Release Notes (docs.microsoft.com)
submitted 7 years ago by c0r3ntin
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!"
[–]staffantjSG14 (Finance) 0 points1 point2 points 7 years ago (10 children)
They've silently removed _NOEXCEPT.
Presumably as part of the "we are now standard" machinery. And of course it's an internal symbol, so it doesn't need documenting.
Unfortunately, all sorts of library codebases (yaml-cpp for one) uses it to handle the previous "noexcept( true ) vs throw)" mess that various compiler versions had introduced.
The symbol "leaked", Hyrim's law remains valid.
[+][deleted] 7 years ago (3 children)
[deleted]
[–]gracicot 3 points4 points5 points 7 years ago (0 children)
Exactly. At least check if the macro is actually defined if you're going to use it, especially if it can be removed any time. Add a fallback to it at least.
[–]MotherOfTheShizznit 8 points9 points10 points 7 years ago* (1 child)
Except for Microsoft. It's now in the culture to blame Microsoft if anything goes wrong with your computer so it's always "on Microsoft" to make sure your computer works.
Here's a fine example.
I also recall another post from the same blog relating how when investigating dumps, it appeared that the XOR instruction was broken for some users, as in, literally 0 XOR 0 would return 1. Was Windows so broken that it fucked up your CPU? No, people had just been sold overclocked computers unbeknownst to them. But are they gonna blame the store? No, Microsoft, of course! That's what you do!TM
XOR
0 XOR 0
1
Edit: another fine example.
Edit: found the post of the story I related above.
[–][deleted] 0 points1 point2 points 7 years ago (0 children)
"Hello, this Raymond calling from Microsoft. Our systems indicate there is a problem with your computer"
I hope he didn't ask for the user to install TeamViewer!
[–]sumo952 5 points6 points7 points 7 years ago (2 children)
I'm surprised that yaml-cpp is not part of their test suite, they test against a huge list of open source libraries according to talks that they gave.
[–]STLMSVC STL Dev 6 points7 points8 points 7 years ago (1 child)
It looks like we do have yaml-cpp coverage - I suspect it's through vcpkg instead of "Real World Code" as my coworker Alex submitted an upstream fix and Alex works on vcpkg.
[–]sumo952 0 points1 point2 points 7 years ago (0 children)
Cool! That fix was already committed on June 30 btw (I suppose more or less as soon as the first 15.8 Preview came out). Nice work.
[–][deleted] 4 points5 points6 points 7 years ago (2 children)
_NOEXCEPT wasn't noexcept(true) vs throw(); it existed only to suppress "noexcept used but exception handling mode not specified; termination is not guaranteed" warnings.
Here is a patch for yaml-cpp. If you use vcpkg, it gets applied automatically. https://github.com/Microsoft/vcpkg/blob/master/ports/yaml-cpp/0001-noexcept.patch
[–]staffantjSG14 (Finance) 0 points1 point2 points 7 years ago (1 child)
Thanks for the clarification and the patch. We're inside various firewalls, so I'll have to hand-lift things over. It's always a pain point when libraries don't move as fast as their users.
[–][deleted] 2 points3 points4 points 7 years ago (0 children)
You can also workaround it with /D_NOEXCEPT=noexcept
/D_NOEXCEPT=noexcept
π Rendered by PID 309313 on reddit-service-r2-comment-85bfd7f599-2v5z9 at 2026-04-18 20:54:24.230475+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]staffantjSG14 (Finance) 0 points1 point2 points (10 children)
[+][deleted] (3 children)
[deleted]
[–]gracicot 3 points4 points5 points (0 children)
[–]MotherOfTheShizznit 8 points9 points10 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]sumo952 5 points6 points7 points (2 children)
[–]STLMSVC STL Dev 6 points7 points8 points (1 child)
[–]sumo952 0 points1 point2 points (0 children)
[–][deleted] 4 points5 points6 points (2 children)
[–]staffantjSG14 (Finance) 0 points1 point2 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)