|
You are here |
cukic.co | ||
| | | | |
baptiste-wicht.com
|
|
| | | | | Variadic Templates C++11 introduced variadic template to the languages. This new feature allows to write template functions and classes taking an arbitrary number of template parameters. This a featur | |
| | | | |
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.yoshuawuyts.com
|
|
| | | [AI summary] The author recaps developments in Rust futures concurrency since 2020, proposing ergonomic trait-based APIs for joining and racing futures and outlining a path to forward-compatible inclusion in the standard library. | ||