|
You are here |
thasso.xyz | ||
| | | | |
www.foonathan.net
|
|
| | | | | 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... | |
| | | | |
danielsieger.com
|
|
| | | | | A comparison of exceptions and error codes for error handling in C++. | |
| | | | |
ddanilov.me
|
|
| | | | | Exceptions are an inherent part of modern C++. Everything is clear with the exceptions that can be handled, but what do we do with the exceptions that have no foreseeable resolution? One of the ways to work with them is to catch, log, and exit the application. Let's take a... | |
| | | | |
blog.knatten.org
|
|
| | | In which I briefly mention what pure functional programming is, explain why this can be slow in C++, and use move semantics to solve that problem. Be warned that this post is a bit longer than usual for this blog, and that it assumes more knowledge of C++11 than my posts usually do. Pure functional... | ||