What new capabilities do user-defined literals add to C++?
At first sight, it seems to be simple syntactic sugar. But when looking deeper, we see it’s more than syntactic sugar, as it extends the C++ user’s options to create user-defined types that behave exactly like distinct built-in types. In this, this little “bonus” is a very interesting C++11 addition to C++. Do we really … Read more