/explore
|
You are here |
cukic.co | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
www.fluentcpp.com
Do you know how to partially specialize all the kinds of templates in C++? Check out this post for how to do it while keeping your code clear. |
|
| | | | | ||
| | | | |
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... |
|
| | | | | ||
| | | | |
eyakubovich.github.io
Most of the time we don't have to worry about defining copy/move constructors and assignment operators -- the compiler happily generates them for us. Sometimes, however, we must do the dirty work ourselves and code them up manually, often together with the destructor. By hand crafting the assignment operators, we... |
|
| | | |||