/explore
|
You are here |
mpark.github.io | ||
| | | | |
www.foonathan.net
Just like regular function parameters, template parameters can also have default parameters. For class templates, this behaves mostly just like default function arguments: if you pass fewer template arguments than required, default template arguments are used to fill the remaining places. However, for function templates, it gets more complicated as template parameters for functions can be deduced by the normal function arguments. This leads to some interesting side-effects. In particular, default argumen... |
|
| | | | | ||
| | | | |
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... |
|
| | | | | ||
| | | | |
nelari.us
A small look at some useful template techniques, in the context of trying to bind functions to a virtual machine. I wrote this post mostly for myself so that these techniques would be listed all in one place. |
|
| | | | | ||
| | | | |
blog.notmyhostna.me
For my new side project I needed to build a browser extension. I was hesitant to build one as the development experience of doing everything in the ... |
|
| | | |||