namespace
LiteralsMath literals.
Literals for easy construction of angle, color, time and other values. The namespace is further split to prevent potential ambiguity and conflicts with literals defined by other code, but the second namespace level is inline
so to get for example the color literals you can do either of these two:
using namespace Math::Literals; using namespace Math::Literals::ColorLiterals;
This library is built as part of Magnum by default. To use this library with CMake, find the Magnum
package and link to the Magnum::Magnum
target:
find_package(Magnum REQUIRED) # ... target_link_libraries(your-app PRIVATE Magnum::Magnum)
See Downloading and building, Usage with CMake and Math type system for more information.
Namespaces
- namespace AngleLiterals new in Git master
- Math angle literals.
- namespace ColorLiterals new in Git master
- Math color literals.
- namespace HalfLiterals new in Git master
- Math half-float literals.
- namespace TimeLiterals new in Git master
- Math time literals.