/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

isocpp.org
| | quuxplusone.github.io

We've seen previously that it's not possible to create a constexpr global variable of container type, when that container holds a pointer to a heap allocation. It's fine to create a global constexpr std::array, or even a std::string that uses only its SSO buffer; but you can't create a global constexpr std::vector or std::list (unless it's empty) because it would have to hold a pointer to a heap allocation.
5.7 parsecs

Travel
| |
| | 0xd34df00d.me


5.3 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!
4.0 parsecs

Travel
| |
| | rent-a-pilot.nl

[AI summary] The author updates their development site to WordPress 6.4 and the 2024 theme, noting broken layouts while highlighting new features like style controls and sticky blocks.
32.0 parsecs

Travel
|