Raw and Cooked
Let's look at the two different types of literal operators.
We'll cover the following...
The literal operator is available in two types:
- Raw
- Cooked
Raw #
The raw form accepts its arguments as (const char*, size_t)
, (const char*)
or const char
:
1.45_km => operator "" _km("1.45")
The ...