CppUserDefinedLiteral.md
June 14, 2019 · View on GitHub
(C++) user-defined literal
A user-defined literal is a type of literal.
Advice
- Use user-defined literals to mimic conventional notation [1]
References
-
- Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 18.5. Advice. page 548: '[10] Use user-defined literals to mimic conventional notation'