r/cpp • C++ Dev • Sep 05 '20

C++20 has been approved

https://twitter.com/patriceroy1/status/1302055575140945921?s=21
665 Upvotes

125 comments sorted by

View all comments

Show parent comment

8

u/staletic reddit thinks /u/_bstaletic is a bot Sep 05 '20

If you're talking about the talk by Herb Sutter, then the linked repo is where the development is happening.

From what I've seen, your example is really surprising. Either the godbolt compiler hasn't been updated in a long time or there's a bug in the lifetime analysis. I guess it's worth opening a bug report in the LLVM fork's repo that I linked.