/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

brevzin.github.io
| | isocpp.org

[AI summary] This article details a C++ Standards Committee proposal introducing new library functions like define_static_string and define_static_array to manage compile-time storage at runtime.
2.1 parsecs

Travel
| |
| | www.fluentcpp.com

There is a particular case for default parameters: it's when their type is a template type. Read on to see how to get this right.
3.0 parsecs

Travel
| |
| | mpark.github.io

Can we work around the limitations of non-type template parameters?
2.8 parsecs

Travel
| |
| | rodusek.com

Getting the name of a type in C++ is a hassle. For something that should be trivially known by the compiler at compile-time, the closest thing we have to getting the type in a cross-platform way is to use std::type_info::name which is neither at compile-time, nor is it guaranteed to be human-readable. In fact, both GCC and Clang actually return the compiler's mangled name rather than the human-readable name we are used to. Let's try to make something better using the modern utilities from c++17 and a little creative problem solving!
29.7 parsecs

Travel
|