|
C++ features by examples
|

Functions | |
| static void | demo () |
| void | types_14 () |
Variables | |
| template<typename T > | |
| T | pi = T(3.141592653589793238462643383) |
| Binary literals, digit separators. More... | |
| template<> | |
| const char * | pi< const char * > = "pi" |
TODO:
https://en.cppreference.com/w/cpp/container/map/find
https://en.cppreference.com/w/cpp/language/constexpr
https://en.cppreference.com/w/cpp/language/integer_literal
https://en.cppreference.com/w/cpp/language/function // decltype(auto)
https://en.cppreference.com/w/cpp/language/aggregate_initialization
https://en.cppreference.com/w/cpp/thread/shared_timed_mutex
https://en.cppreference.com/w/cpp/thread/shared_lock
https://en.cppreference.com/w/cpp/utility/integer_sequence
https://en.cppreference.com/w/cpp/utility/exchange
https://en.cppreference.com/w/cpp/utility/forward
https://en.cppreference.com/w/cpp/io/manip/quoted
[[deprecated]]
|
static |
| void types_14 | ( | ) |
| T pi = T(3.141592653589793238462643383) |
Binary literals, digit separators.
Template variables https://en.cppreference.com/w/cpp/language/variable_template Numeric pi