|
You are here |
eyakubovich.github.io | ||
| | | | |
bannalia.blogspot.com
|
|
| | | | | C++ smart pointers rely on the ability to overload operator-> (and, less importantly, operator->* ), whose invocation precedes any access ... | |
| | | | |
studiofreya.org
|
|
| | | | | [AI summary] A C++11 variadic template example demonstrating perfect forwarding to wrap constructor calls for a structure. | |
| | | | |
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... | |
| | | | |
mklimenko.github.io
|
|
| | | Every time I work with a C library, I miss the power and capability of the type system C++ provides. That's why I developed a simple C++17 header-only helper library to pack the multiple type-dependent C-style functions into single overload deduced at compile-time. No external libraries are required. Repo link: https://github.com/MKlimenko/plusifier. Currently, it's just the header and a compile-time test file, CMake integration coming soon. | ||