Что выведет код?
Anonymous Quiz
29%
0
44%
У программы неопределенное поведение
13%
Compiler Error
13%
Другое
Статья об упрощении использования стандартной библиотеки в C++20 с примерами.
https://cor3ntin.github.io/posts/tuple/
https://cor3ntin.github.io/posts/tuple/
Неопределенное поведение может привести к путешествию во времени (среди прочего, но путешествие во времени — самое странное) — Раймонд Чен.
https://devblogs.microsoft.com/oldnewthing/20140627-00/?p=633
https://devblogs.microsoft.com/oldnewthing/20140627-00/?p=633
Microsoft News
Undefined behavior can result in time travel (among other things, but time travel is the funkiest)
The C and C++ languages are notorious for the very large section of the map labeled here be dragons, or more formally, undefined behavior. When undefined behavior is invoked, anything is possible. For example, a variable can be both true and false.