|
You are here |
eyakubovich.github.io | ||
| | | | |
mpark.github.io
|
|
| | | | | A visitation mechanism for `std::variant`. | |
| | | | |
www.think-cell.com
|
|
| | | | | ||
| | | | |
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.bfilipek.com
|
|
| | | Variadic Templates from C++11 is probably not a feature that you use on a daily basis. But recently, I've come across one refactoring example where I've decided to give a try and apply variadics. Intro When I was doing some work in some old UI code I've noticed several similar lines of code that looked like that: | ||