modern-cpp-features
modern-cpp-features copied to clipboard
A cheatsheet of modern C++ language and library features.
This example doesn't compile: https://github.com/AnthonyCalandra/modern-cpp-features#class-types-in-non-type-template-parameters See here: https://godbolt.org/z/sf6hKPPso
https://en.cppreference.com/w/cpp/utility/functional/bind_front https://en.cppreference.com/w/cpp/header/version
https://en.cppreference.com/w/cpp/container/vector/erase2
Is C++20 section missing __VA_OPT language attribute for better support of variadic macros? e.g., some detailed usage outlined here https://www.scs.stanford.edu/~dm/blog/va-opt.html
I saw that in the _coroutine_ chapter in the section _C++20_, as an example, the `generator` type was used, but this is only available as of C++23.
UTF-16 is type for UTF-16 character representation and UTF-32 is type for UTF-32 character representation
The code provided does not work, since g() does not take any parameters. Fixed.
Added description of regex feature.