/explore
|
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. |
|
| | | | | ||
| | | | |
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... |
|
| | | | | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
ericniebler.github.io
D4128: Ranges for the Standard Library: Revision 1 : |
|
| | | |||