/explore
|
You are here |
mikejsavage.co.uk | ||
| | | | |
www.cplusplus.com
[AI summary] This technical article documents the C++11 wcmatch class template used for matching wide string literals in regular expressions. |
|
| | | | | ||
| | | | |
abseil.io
Battle-tested, Mom-approved |
|
| | | | | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
www.foonathan.net
If you want a function that returns multiple values, you'd use a reference and assign the outputs to that. But using a reference has a few drawbacks - it is not obvious in the caller, requires default construction etc. This post will explain why you sometimes need output parameters and how to fix their problems. |
|
| | | |||