/explore
|
You are here |
abseil.io | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
mikejsavage.co.uk
|
|
| | | | | ||
| | | | |
zverovich.net
[AI summary] The author announces a new feature in the fmt C++ library that performs compile-time validation of format strings using modern constexpr support to improve code safety and usability. |
|
| | | | | ||
| | | | |
bloeys.com
In 'Thought 2: Regex is Like Assembly' I wondered why we are still doing regex in this kind of hard to understand, symbolic way, when we have already invented high level programming languages. There is no reason regex can't be written as clearly as any other programming language we use today. I thought doing this would be an interesting project, and so I came up with Regexl, a high level language for writing regex, that can be used as a simple library. |
|
| | | |||