Explore >> Select a destination


You are here

www.foonathan.net
| | www.fluentcpp.com
1.2 parsecs away

Travel
| | There is a particular case for default parameters: it's when their type is a template type. Read on to see how to get this right.
| | nelari.us
2.5 parsecs away

Travel
| | 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.cppstories.com
2.4 parsecs away

Travel
| | For C++17 everyone wanted to have concepts, and as you know, we didn't get them. But does it mean C++17 doesn't improve templates/template meta-programming? Far from that! In my opinion, we get excellent features. Read more for details. Intro Do you work a lot with templates and meta-programming? With C++17 we get a few nice improvements: some are quite small, but also there are notable features as well!
| | www.foonathan.net
25.8 parsecs away

Travel
| Let me share a useful insight with you: constexpr is a platform. Just like you write code that targets Windows or a microcontroller, you write code that targets compile-time execution. In both cases you restrict yourself to the subset of C++ that works on your target platform, use conditional compilation if your code needs to be portable, and execute it on the desired target platform. You can thus view constexpr as another platform you can target; it just so happens to be run by your compiler. This insig...