/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

mariusbancila.ro
| | www.foonathan.net

The size of std::array is known at compile-time given the type. Yet it only provides a regular .size() member function: template struct array { constexpr std::size_t size() const { return N; } }; This is annoying if you're writing generic code that expects some sort of compile-time sized range.
6.8 parsecs

Travel
| |
| | eyakubovich.github.io

While reading "Want speed? Use constexpr meta-programming!"blog post, I started thinking about how to reduce the recursion depth of such calculations. After all, using a compiler option to increase the recursion depth limits is not very friendly (gcc sets the limit at 512 by default). But before we get to...
7.2 parsecs

Travel
| |
| | timur.audio

[AI summary] The article explains the concept, syntax, and benefits of contract assertions, a new feature proposed for the C++26 standard to improve code safety and debugging.
1.7 parsecs

Travel
| |
| | ericniebler.github.io

D4128: Ranges for the Standard Library: Revision 1 :
26.6 parsecs

Travel
|