/explore
|
You are here |
mpark.github.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. |
|
| | | | | ||
| | | | |
www.fluentcpp.com
Variadic templates allow any number of template parameters of any type. In this article we see how to do a variadic number of parameters of the SAME type. |
|
| | | | | ||
| | | | |
bannalia.blogspot.com
std::unordered_map is a highly configurable class template with five parameters: template< class Key, class Value, class Hash ... |
|
| | | | | ||
| | | | |
www.softdevtube.com
Programming history is filled with bugs that turned out to be features and limitations that pushed developers to make even more interesting products. We'll journey through code that was so 'bad' it was actually good. Along the way we'll look at the important role failure plays in learning. Then we'll tame our inner perfectionists and |
|
| | | |||