|
You are here |
quuxplusone.github.io | ||
| | | | |
sdowney.org
|
|
| | | | | A Possible Technique constexpr bool g(int lhs, int rhs) { auto& op = partial_eq; return op.ne(lhs, rhs); } Compiler Explorer with Supporting Code A trait is defined as a template var... | |
| | | | |
akrzemi1.wordpress.com
|
|
| | | | | This post has been inspired by the readers' questions about using concepts to solve real problems. We will have a look at two such problems and see if, and how, concepts can help. Case Study 1 My concept has two functions: one produces a value, and the other one later consumes this value: How to... | |
| | | | |
www.cplusplus.com
|
|
| | | | | ||
| | | | |
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... | ||