|
You are here |
thasso.xyz | ||
| | | | |
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... | |
| | | | |
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... | |
| | | | |
dusanmitrovic.rs
|
|
| | | I always wanted to add support for comments on my blog. I just couldn't find a convinient way to go about implementing them, until I joined Mastodon! | ||