Open
Description
Thanks to C++11 user-defined literals are now allowed!
http://en.cppreference.com/w/cpp/language/user_literal
Shall be used to maintain compatability when changing CE3D2::PrecisionType
without the need to change every float
literal used (since PrecisionType
is by default float
).
Steps for implementation:
- Define the new literal.
- Use it everywhere where appropriate (also inside tests).
- Mention inside docs.