|
You are here |
mikejsavage.co.uk | ||
| | | | |
ventspace.wordpress.com
|
|
| | | | | Something that comes up occasionally for me is that I'd like to write a template function that accepts a lambda, and then peels back the layers of the lambda to get type information about it. For example, I'd like to have a templated type parameter for the return value of that lambda to be able... | |
| | | | |
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. | |
| | | | |
blog.fahhem.com
|
|
| | | | | Posts and writings by Fahrzin Hemmati | |
| | | | |
mpark.github.io
|
|
| | | The pitfall of eagerness of perfect forwarding. | ||