CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
cms_units::operators Namespace Reference

Functions

constexpr double operator""_cm (long double length)
 
constexpr double operator""_cm (unsigned long long int length)
 
constexpr double operator""_cm3 (long double length)
 
constexpr double operator""_m (long double length)
 
constexpr double operator""_m3 (long double length)
 
constexpr double operator""_mm (long double length)
 
constexpr double operator""_mm (unsigned long long int length)
 

Function Documentation

constexpr double cms_units::operators::operator""_cm ( long double  length)

Definition at line 27 of file CMSUnits.h.

27 { return length * 1.; }
constexpr double cms_units::operators::operator""_cm ( unsigned long long int  length)

Definition at line 32 of file CMSUnits.h.

32 { return length * 1; }
constexpr double cms_units::operators::operator""_cm3 ( long double  length)

Definition at line 29 of file CMSUnits.h.

29 { return length * 1._cm * 1._cm * 1._cm; }
constexpr double cms_units::operators::operator""_m ( long double  length)

Definition at line 28 of file CMSUnits.h.

28 { return length * 100.; }
constexpr double cms_units::operators::operator""_m3 ( long double  length)

Definition at line 30 of file CMSUnits.h.

30 { return length * 1._m * 1._m * 1._m; }
constexpr double cms_units::operators::operator""_mm ( long double  length)

Definition at line 26 of file CMSUnits.h.

26 { return length * 0.1; }
constexpr double cms_units::operators::operator""_mm ( unsigned long long int  length)

Definition at line 31 of file CMSUnits.h.

31 { return length * 0.1; }