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

    1. 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'

 

 

 

 

 

 

Contents

  1. 1(C++) user-defined literal
  2. 2Advice
  3. 3References