units
Use physical dimensions at compile-time or run-time.
Classes | Namespaces | Typedefs | Functions | Variables
units.hpp File Reference

Definition of various units in namespaces vnix::units::flt, vnix::units::dbl, and vnix::units::ldbl. More...

#include <vnix/units/dimval.hpp>
Include dependency graph for units.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vnix::units::impl::meters< T >
 Template used to construct a number of meters. More...
 
struct  vnix::units::impl::centimeters< T >
 Template used to construct a number of centimeters. More...
 
struct  vnix::units::impl::millimeters< T >
 Template used to construct a number of millimeters. More...
 
struct  vnix::units::impl::micrometers< T >
 Template used to construct a number of micrometers. More...
 
struct  vnix::units::impl::nanometers< T >
 Template used to construct a number of nanometers. More...
 
struct  vnix::units::impl::picometers< T >
 Template used to construct a number of picometers. More...
 
struct  vnix::units::impl::femtometers< T >
 Template used to construct a number of femtometers. More...
 
struct  vnix::units::impl::kilometers< T >
 Template used to construct a number of kilometers. More...
 
struct  vnix::units::impl::megameters< T >
 Template used to construct a number of megameters. More...
 
struct  vnix::units::impl::grams< T >
 Template used to construct a number of grams. More...
 
struct  vnix::units::impl::milligrams< T >
 Template used to construct a number of milligrams. More...
 
struct  vnix::units::impl::micrograms< T >
 Template used to construct a number of micrograms. More...
 
struct  vnix::units::impl::nanograms< T >
 Template used to construct a number of nanograms. More...
 
struct  vnix::units::impl::picograms< T >
 Template used to construct a number of picograms. More...
 
struct  vnix::units::impl::kilograms< T >
 Template used to construct a number of kilograms. More...
 
struct  vnix::units::impl::megagrams< T >
 Template used to construct a number of megagrams. More...
 
struct  vnix::units::impl::seconds< T >
 Template used to construct a number of seconds. More...
 
struct  vnix::units::impl::milliseconds< T >
 Template used to construct a number of milliseconds. More...
 
struct  vnix::units::impl::microseconds< T >
 Template used to construct a number of microseconds. More...
 
struct  vnix::units::impl::nanoseconds< T >
 Template used to construct a number of nanoseconds. More...
 
struct  vnix::units::impl::picoseconds< T >
 Template used to construct a number of picoseconds. More...
 
struct  vnix::units::impl::femtoseconds< T >
 Template used to construct a number of femtoseconds. More...
 
struct  vnix::units::impl::coulombs< T >
 Template used to construct a number of coulombs. More...
 
struct  vnix::units::impl::millicoulombs< T >
 Template used to construct a number of millicoulombs. More...
 
struct  vnix::units::impl::microcoulombs< T >
 Template used to construct a number of microcoulombs. More...
 
struct  vnix::units::impl::nanocoulombs< T >
 Template used to construct a number of nanocoulombs. More...
 
struct  vnix::units::impl::picocoulombs< T >
 Template used to construct a number of picocoulombs. More...
 
struct  vnix::units::impl::kelvins< T >
 Template used to construct a number of kelvins. More...
 
struct  vnix::units::impl::millikelvins< T >
 Template used to construct a number of millikelvins. More...
 
struct  vnix::units::impl::microkelvins< T >
 Template used to construct a number of microkelvins. More...
 
struct  vnix::units::impl::nanokelvins< T >
 Template used to construct a number of nanokelvins. More...
 
struct  vnix::units::impl::feet< T >
 Template used to construct a number of feet. More...
 
struct  vnix::units::impl::kilofeet< T >
 Template used to construct a number of kilofeet. More...
 
struct  vnix::units::impl::inches< T >
 Template used to construct a number of inches. More...
 
struct  vnix::units::impl::yards< T >
 Template used to construct a number of yards. More...
 
struct  vnix::units::impl::miles< T >
 Template used to construct a number of miles. More...
 
struct  vnix::units::impl::newtons< T >
 Template used to construct a number of newtons. More...
 
struct  vnix::units::impl::millinewtons< T >
 Template used to construct a number of millinewtons. More...
 
struct  vnix::units::impl::micronewtons< T >
 Template used to construct a number of micronewtons. More...
 
struct  vnix::units::impl::kilonewtons< T >
 Template used to construct a number of kilonewtons. More...
 
struct  vnix::units::impl::meganewtons< T >
 Template used to construct a number of meganewtons. More...
 
struct  vnix::units::impl::dynes< T >
 Template used to construct a number of dynes. More...
 
struct  vnix::units::impl::joules< T >
 Template used to construct a number of joules. More...
 
struct  vnix::units::impl::millijoules< T >
 Template used to construct a number of millijoules. More...
 
struct  vnix::units::impl::microjoules< T >
 Template used to construct a number of microjoules. More...
 
struct  vnix::units::impl::kilojoules< T >
 Template used to construct a number of kilojoules. More...
 
struct  vnix::units::impl::megajoules< T >
 Template used to construct a number of megajoules. More...
 
struct  vnix::units::impl::gigajoules< T >
 Template used to construct a number of gigajoules. More...
 
struct  vnix::units::impl::ergs< T >
 Template used to construct a number of ergs. More...
 
struct  vnix::units::impl::watts< T >
 Template used to construct a number of watts. More...
 
struct  vnix::units::impl::milliwatts< T >
 Template used to construct a number of milliwatts. More...
 
struct  vnix::units::impl::microwatts< T >
 Template used to construct a number of microwatts. More...
 
struct  vnix::units::impl::kilowatts< T >
 Template used to construct a number of kilowatts. More...
 
struct  vnix::units::impl::megawatts< T >
 Template used to construct a number of megawatts. More...
 
struct  vnix::units::impl::gigawatts< T >
 Template used to construct a number of gigawatts. More...
 
struct  vnix::units::impl::amperes< T >
 Template used to construct a number of amperes. More...
 
struct  vnix::units::impl::milliamperes< T >
 Template used to construct a number of milliamperes. More...
 
struct  vnix::units::impl::microamperes< T >
 Template used to construct a number of microamperes. More...
 

Namespaces

 vnix
 Thomas E. Vaughan's public software.
 
 vnix::units
 Classes and functions supporting a model of physically dimensioned quantities.
 
 vnix::units::impl
 Template structs that user would use only to extend the library.
 
 vnix::units::flt
 Single-precision dimensions and units.
 
 vnix::units::dbl
 Double-precision dimensions and units.
 
 vnix::units::ldbl
 Extended-precision dimensions and units.
 

Typedefs

using vnix::units::flt::dyndim = basic_dyndim< float >
 Type of dimensioned value whose dimension is not known at compile-time. More...
 
using vnix::units::flt::length = basic_statdim< length_dim.encode(), float >
 Type for variable of dimension length. More...
 
using vnix::units::flt::mass = basic_statdim< mass_dim.encode(), float >
 Type for variable of dimension mass. More...
 
using vnix::units::flt::time = basic_statdim< time_dim.encode(), float >
 Type for variable of dimension time. More...
 
using vnix::units::flt::charge = basic_statdim< charge_dim.encode(), float >
 Type for variable of dimension charge. More...
 
using vnix::units::flt::temperature = basic_statdim< temperature_dim.encode(), float >
 Type for variable of dimension temperature. More...
 
using vnix::units::flt::speed = decltype(m/s)
 
using vnix::units::flt::acceleration = decltype(m/s/s)
 
using vnix::units::flt::momentum = decltype(g *m/s)
 
using vnix::units::flt::force = decltype(N/1)
 
using vnix::units::flt::current = decltype(C/s)
 
using vnix::units::flt::energy = decltype(J/1)
 
using vnix::units::flt::power = decltype(W/1)
 
using vnix::units::flt::area = decltype(m *m)
 
using vnix::units::flt::volume = decltype(m *m *m)
 
using vnix::units::flt::pressure = decltype(N/m/m)
 
using vnix::units::dbl::dyndim = basic_dyndim< double >
 Type of dimensioned value whose dimension is not known at compile-time. More...
 
using vnix::units::dbl::length = basic_statdim< length_dim.encode(), double >
 Type for variable of dimension length. More...
 
using vnix::units::dbl::mass = basic_statdim< mass_dim.encode(), double >
 Type for variable of dimension mass. More...
 
using vnix::units::dbl::time = basic_statdim< time_dim.encode(), double >
 Type for variable of dimension time. More...
 
using vnix::units::dbl::charge = basic_statdim< charge_dim.encode(), double >
 Type for variable of dimension charge. More...
 
using vnix::units::dbl::temperature = basic_statdim< temperature_dim.encode(), double >
 Type for variable of dimension temperature. More...
 
using vnix::units::dbl::speed = decltype(m/s)
 
using vnix::units::dbl::acceleration = decltype(m/s/s)
 
using vnix::units::dbl::momentum = decltype(g *m/s)
 
using vnix::units::dbl::force = decltype(N/1)
 
using vnix::units::dbl::current = decltype(C/s)
 
using vnix::units::dbl::energy = decltype(J/1)
 
using vnix::units::dbl::power = decltype(W/1)
 
using vnix::units::dbl::area = decltype(m *m)
 
using vnix::units::dbl::volume = decltype(m *m *m)
 
using vnix::units::dbl::pressure = decltype(N/m/m)
 
using vnix::units::ldbl::dyndim = basic_dyndim< long double >
 Type of dimensioned value whose dimension is not known at compile-time. More...
 
using vnix::units::ldbl::length = basic_statdim< length_dim.encode(), long double >
 Type for variable of dimension length. More...
 
using vnix::units::ldbl::mass = basic_statdim< mass_dim.encode(), long double >
 Type for variable of dimension mass. More...
 
using vnix::units::ldbl::time = basic_statdim< time_dim.encode(), long double >
 Type for variable of dimension time. More...
 
using vnix::units::ldbl::charge = basic_statdim< charge_dim.encode(), long double >
 Type for variable of dimension charge. More...
 
using vnix::units::ldbl::temperature = basic_statdim< temperature_dim.encode(), long double >
 Type for variable of dimension temperature. More...
 
using vnix::units::ldbl::speed = decltype(m/s)
 
using vnix::units::ldbl::acceleration = decltype(m/s/s)
 
using vnix::units::ldbl::momentum = decltype(g *m/s)
 
using vnix::units::ldbl::force = decltype(N/1)
 
using vnix::units::ldbl::current = decltype(C/s)
 
using vnix::units::ldbl::energy = decltype(J/1)
 
using vnix::units::ldbl::power = decltype(W/1)
 
using vnix::units::ldbl::area = decltype(m *m)
 
using vnix::units::ldbl::volume = decltype(m *m *m)
 
using vnix::units::ldbl::pressure = decltype(N/m/m)
 

Functions

constexpr dim vnix::units::length_dim (1, 0, 0, 0, 0)
 Exponents for length. More...
 
constexpr dim vnix::units::mass_dim (0, 1, 0, 0, 0)
 Exponents for mass. More...
 
constexpr dim vnix::units::time_dim (0, 0, 1, 0, 0)
 Exponents for time. More...
 
constexpr dim vnix::units::charge_dim (0, 0, 0, 1, 0)
 Exponents for charge. More...
 
constexpr dim vnix::units::temperature_dim (0, 0, 0, 0, 1)
 Exponents for temperature. More...
 
template<typename T >
constexpr meters< T > vnix::units::impl::m (T(1))
 Template-variable for symbol for meters. More...
 
template<typename T >
constexpr centimeters< T > vnix::units::impl::cm (T(1))
 Template-variable for symbol for centimeters. More...
 
template<typename T >
constexpr millimeters< T > vnix::units::impl::mm (T(1))
 Template-variable for symbol for millimeters. More...
 
template<typename T >
constexpr micrometers< T > vnix::units::impl::mum (T(1))
 Template-variable for symbol for micrometers. More...
 
template<typename T >
constexpr nanometers< T > vnix::units::impl::nm (T(1))
 Template-variable for symbol for nanometers. More...
 
template<typename T >
constexpr picometers< T > vnix::units::impl::pm (T(1))
 Template-variable for symbol for picometers. More...
 
template<typename T >
constexpr femtometers< T > vnix::units::impl::fm (T(1))
 Template-variable for symbol for femtometers. More...
 
template<typename T >
constexpr kilometers< T > vnix::units::impl::km (T(1))
 Template-variable for symbol for kilometers. More...
 
template<typename T >
constexpr megameters< T > vnix::units::impl::Mm (T(1))
 Template-variable for symbol for megameters. More...
 
template<typename T >
constexpr grams< T > vnix::units::impl::g (T(1))
 Template-variable for symbol for grams. More...
 
template<typename T >
constexpr milligrams< T > vnix::units::impl::mg (T(1))
 Template-variable for symbol for milligrams. More...
 
template<typename T >
constexpr micrograms< T > vnix::units::impl::mug (T(1))
 Template-variable for symbol for micrograms. More...
 
template<typename T >
constexpr nanograms< T > vnix::units::impl::ng (T(1))
 Template-variable for symbol for nanograms. More...
 
template<typename T >
constexpr picograms< T > vnix::units::impl::pg (T(1))
 Template-variable for symbol for picograms. More...
 
template<typename T >
constexpr kilograms< T > vnix::units::impl::kg (T(1))
 Template-variable for symbol for kilograms. More...
 
template<typename T >
constexpr megagrams< T > vnix::units::impl::Mg (T(1))
 Template-variable for symbol for megagrams. More...
 
template<typename T >
constexpr seconds< T > vnix::units::impl::s (T(1))
 Template-variable for symbol for seconds. More...
 
template<typename T >
constexpr milliseconds< T > vnix::units::impl::ms (T(1))
 Template-variable for symbol for milliseconds. More...
 
template<typename T >
constexpr microseconds< T > vnix::units::impl::mus (T(1))
 Template-variable for symbol for microseconds. More...
 
template<typename T >
constexpr nanoseconds< T > vnix::units::impl::ns (T(1))
 Template-variable for symbol for nanoseconds. More...
 
template<typename T >
constexpr picoseconds< T > vnix::units::impl::ps (T(1))
 Template-variable for symbol for picoseconds. More...
 
template<typename T >
constexpr femtoseconds< T > vnix::units::impl::fs (T(1))
 Template-variable for symbol for femtoseconds. More...
 
template<typename T >
constexpr coulombs< T > vnix::units::impl::C (T(1))
 Template-variable for symbol for coulombs. More...
 
template<typename T >
constexpr millicoulombs< T > vnix::units::impl::mC (T(1))
 Template-variable for symbol for millicoulombs. More...
 
template<typename T >
constexpr microcoulombs< T > vnix::units::impl::muC (T(1))
 Template-variable for symbol for microcoulombs. More...
 
template<typename T >
constexpr nanocoulombs< T > vnix::units::impl::nC (T(1))
 Template-variable for symbol for nanocoulombs. More...
 
template<typename T >
constexpr picocoulombs< T > vnix::units::impl::pC (T(1))
 Template-variable for symbol for picocoulombs. More...
 
template<typename T >
constexpr kelvins< T > vnix::units::impl::K (T(1))
 Template-variable for symbol for kelvins. More...
 
template<typename T >
constexpr millikelvins< T > vnix::units::impl::mK (T(1))
 Template-variable for symbol for millikelvins. More...
 
template<typename T >
constexpr microkelvins< T > vnix::units::impl::muK (T(1))
 Template-variable for symbol for microkelvins. More...
 
template<typename T >
constexpr nanokelvins< T > vnix::units::impl::nK (T(1))
 Template-variable for symbol for nanokelvins. More...
 
template<typename T >
constexpr feet< T > vnix::units::impl::ft (T(1))
 Template-variable for symbol for feet. More...
 
template<typename T >
constexpr kilofeet< T > vnix::units::impl::kft (T(1))
 Template-variable for symbol for kilofeet. More...
 
template<typename T >
constexpr inches< T > vnix::units::impl::in (T(1))
 Template-variable for symbol for inches. More...
 
template<typename T >
constexpr yards< T > vnix::units::impl::yd (T(1))
 Template-variable for symbol for yards. More...
 
template<typename T >
constexpr miles< T > vnix::units::impl::mi (T(1))
 Template-variable for symbol for miles. More...
 
template<typename T >
constexpr newtons< T > vnix::units::impl::N (T(1))
 Template-variable for symbol for newtons. More...
 
template<typename T >
constexpr millinewtons< T > vnix::units::impl::mN (T(1))
 Template-variable for symbol for millinewtons. More...
 
template<typename T >
constexpr micronewtons< T > vnix::units::impl::muN (T(1))
 Template-variable for symbol for micronewtons. More...
 
template<typename T >
constexpr kilonewtons< T > vnix::units::impl::kN (T(1))
 Template-variable for symbol for kilonewtons. More...
 
template<typename T >
constexpr meganewtons< T > vnix::units::impl::MN (T(1))
 Template-variable for symbol for meganewtons. More...
 
template<typename T >
constexpr dynes< T > vnix::units::impl::dyn (T(1))
 Template-variable for symbol for dynes. More...
 
template<typename T >
constexpr joules< T > vnix::units::impl::J (T(1))
 Template-variable for symbol for joules. More...
 
template<typename T >
constexpr millijoules< T > vnix::units::impl::mJ (T(1))
 Template-variable for symbol for millijoules. More...
 
template<typename T >
constexpr microjoules< T > vnix::units::impl::muJ (T(1))
 Template-variable for symbol for microjoules. More...
 
template<typename T >
constexpr kilojoules< T > vnix::units::impl::kJ (T(1))
 Template-variable for symbol for kilojoules. More...
 
template<typename T >
constexpr megajoules< T > vnix::units::impl::MJ (T(1))
 Template-variable for symbol for megajoules. More...
 
template<typename T >
constexpr gigajoules< T > vnix::units::impl::GJ (T(1))
 Template-variable for symbol for gigajoules. More...
 
template<typename T >
constexpr ergs< T > vnix::units::impl::erg (T(1))
 Template-variable for symbol for ergs. More...
 
template<typename T >
constexpr watts< T > vnix::units::impl::W (T(1))
 Template-variable for symbol for watts. More...
 
template<typename T >
constexpr milliwatts< T > vnix::units::impl::mW (T(1))
 Template-variable for symbol for milliwatts. More...
 
template<typename T >
constexpr microwatts< T > vnix::units::impl::muW (T(1))
 Template-variable for symbol for microwatts. More...
 
template<typename T >
constexpr kilowatts< T > vnix::units::impl::kW (T(1))
 Template-variable for symbol for kilowatts. More...
 
template<typename T >
constexpr megawatts< T > vnix::units::impl::MW (T(1))
 Template-variable for symbol for megawatts. More...
 
template<typename T >
constexpr gigawatts< T > vnix::units::impl::GW (T(1))
 Template-variable for symbol for gigawatts. More...
 
template<typename T >
constexpr amperes< T > vnix::units::impl::A (T(1))
 Template-variable for symbol for amperes. More...
 
template<typename T >
constexpr milliamperes< T > vnix::units::impl::mA (T(1))
 Template-variable for symbol for milliamperes. More...
 
template<typename T >
constexpr microamperes< T > vnix::units::impl::muA (T(1))
 Template-variable for symbol for microamperes. More...
 
template<typename T >
constexpr auto vnix::units::meters (T v)
 Produce dimensioned quantity from number of meters. More...
 
template<typename T >
constexpr auto vnix::units::centimeters (T v)
 Produce dimensioned quantity from number of centimeters. More...
 
template<typename T >
constexpr auto vnix::units::millimeters (T v)
 Produce dimensioned quantity from number of millimeters. More...
 
template<typename T >
constexpr auto vnix::units::micrometers (T v)
 Produce dimensioned quantity from number of micrometers. More...
 
template<typename T >
constexpr auto vnix::units::nanometers (T v)
 Produce dimensioned quantity from number of nanometers. More...
 
template<typename T >
constexpr auto vnix::units::picometers (T v)
 Produce dimensioned quantity from number of picometers. More...
 
template<typename T >
constexpr auto vnix::units::femtometers (T v)
 Produce dimensioned quantity from number of femtometers. More...
 
template<typename T >
constexpr auto vnix::units::kilometers (T v)
 Produce dimensioned quantity from number of kilometers. More...
 
template<typename T >
constexpr auto vnix::units::megameters (T v)
 Produce dimensioned quantity from number of megameters. More...
 
template<typename T >
constexpr auto vnix::units::grams (T v)
 Produce dimensioned quantity from number of grams. More...
 
template<typename T >
constexpr auto vnix::units::milligrams (T v)
 Produce dimensioned quantity from number of milligrams. More...
 
template<typename T >
constexpr auto vnix::units::micrograms (T v)
 Produce dimensioned quantity from number of micrograms. More...
 
template<typename T >
constexpr auto vnix::units::nanograms (T v)
 Produce dimensioned quantity from number of nanograms. More...
 
template<typename T >
constexpr auto vnix::units::picograms (T v)
 Produce dimensioned quantity from number of picograms. More...
 
template<typename T >
constexpr auto vnix::units::kilograms (T v)
 Produce dimensioned quantity from number of kilograms. More...
 
template<typename T >
constexpr auto vnix::units::megagrams (T v)
 Produce dimensioned quantity from number of megagrams. More...
 
template<typename T >
constexpr auto vnix::units::seconds (T v)
 Produce dimensioned quantity from number of seconds. More...
 
template<typename T >
constexpr auto vnix::units::milliseconds (T v)
 Produce dimensioned quantity from number of milliseconds. More...
 
template<typename T >
constexpr auto vnix::units::microseconds (T v)
 Produce dimensioned quantity from number of microseconds. More...
 
template<typename T >
constexpr auto vnix::units::nanoseconds (T v)
 Produce dimensioned quantity from number of nanoseconds. More...
 
template<typename T >
constexpr auto vnix::units::picoseconds (T v)
 Produce dimensioned quantity from number of picoseconds. More...
 
template<typename T >
constexpr auto vnix::units::femtoseconds (T v)
 Produce dimensioned quantity from number of femtoseconds. More...
 
template<typename T >
constexpr auto vnix::units::coulombs (T v)
 Produce dimensioned quantity from number of coulombs. More...
 
template<typename T >
constexpr auto vnix::units::millicoulombs (T v)
 Produce dimensioned quantity from number of millicoulombs. More...
 
template<typename T >
constexpr auto vnix::units::microcoulombs (T v)
 Produce dimensioned quantity from number of microcoulombs. More...
 
template<typename T >
constexpr auto vnix::units::nanocoulombs (T v)
 Produce dimensioned quantity from number of nanocoulombs. More...
 
template<typename T >
constexpr auto vnix::units::picocoulombs (T v)
 Produce dimensioned quantity from number of picocoulombs. More...
 
template<typename T >
constexpr auto vnix::units::kelvins (T v)
 Produce dimensioned quantity from number of kelvins. More...
 
template<typename T >
constexpr auto vnix::units::millikelvins (T v)
 Produce dimensioned quantity from number of millikelvins. More...
 
template<typename T >
constexpr auto vnix::units::microkelvins (T v)
 Produce dimensioned quantity from number of microkelvins. More...
 
template<typename T >
constexpr auto vnix::units::nanokelvins (T v)
 Produce dimensioned quantity from number of nanokelvins. More...
 
template<typename T >
constexpr auto vnix::units::feet (T v)
 Produce dimensioned quantity from number of feet. More...
 
template<typename T >
constexpr auto vnix::units::kilofeet (T v)
 Produce dimensioned quantity from number of kilofeet. More...
 
template<typename T >
constexpr auto vnix::units::inches (T v)
 Produce dimensioned quantity from number of inches. More...
 
template<typename T >
constexpr auto vnix::units::yards (T v)
 Produce dimensioned quantity from number of yards. More...
 
template<typename T >
constexpr auto vnix::units::miles (T v)
 Produce dimensioned quantity from number of miles. More...
 
template<typename T >
constexpr auto vnix::units::newtons (T v)
 Produce dimensioned quantity from number of newtons. More...
 
template<typename T >
constexpr auto vnix::units::millinewtons (T v)
 Produce dimensioned quantity from number of millinewtons. More...
 
template<typename T >
constexpr auto vnix::units::micronewtons (T v)
 Produce dimensioned quantity from number of micronewtons. More...
 
template<typename T >
constexpr auto vnix::units::kilonewtons (T v)
 Produce dimensioned quantity from number of kilonewtons. More...
 
template<typename T >
constexpr auto vnix::units::meganewtons (T v)
 Produce dimensioned quantity from number of meganewtons. More...
 
template<typename T >
constexpr auto vnix::units::dynes (T v)
 Produce dimensioned quantity from number of dynes. More...
 
template<typename T >
constexpr auto vnix::units::joules (T v)
 Produce dimensioned quantity from number of joules. More...
 
template<typename T >
constexpr auto vnix::units::millijoules (T v)
 Produce dimensioned quantity from number of millijoules. More...
 
template<typename T >
constexpr auto vnix::units::microjoules (T v)
 Produce dimensioned quantity from number of microjoules. More...
 
template<typename T >
constexpr auto vnix::units::kilojoules (T v)
 Produce dimensioned quantity from number of kilojoules. More...
 
template<typename T >
constexpr auto vnix::units::megajoules (T v)
 Produce dimensioned quantity from number of megajoules. More...
 
template<typename T >
constexpr auto vnix::units::gigajoules (T v)
 Produce dimensioned quantity from number of gigajoules. More...
 
template<typename T >
constexpr auto vnix::units::ergs (T v)
 Produce dimensioned quantity from number of ergs. More...
 
template<typename T >
constexpr auto vnix::units::watts (T v)
 Produce dimensioned quantity from number of watts. More...
 
template<typename T >
constexpr auto vnix::units::milliwatts (T v)
 Produce dimensioned quantity from number of milliwatts. More...
 
template<typename T >
constexpr auto vnix::units::microwatts (T v)
 Produce dimensioned quantity from number of microwatts. More...
 
template<typename T >
constexpr auto vnix::units::kilowatts (T v)
 Produce dimensioned quantity from number of kilowatts. More...
 
template<typename T >
constexpr auto vnix::units::megawatts (T v)
 Produce dimensioned quantity from number of megawatts. More...
 
template<typename T >
constexpr auto vnix::units::gigawatts (T v)
 Produce dimensioned quantity from number of gigawatts. More...
 
template<typename T >
constexpr auto vnix::units::amperes (T v)
 Produce dimensioned quantity from number of amperes. More...
 
template<typename T >
constexpr auto vnix::units::milliamperes (T v)
 Produce dimensioned quantity from number of milliamperes. More...
 
template<typename T >
constexpr auto vnix::units::microamperes (T v)
 Produce dimensioned quantity from number of microamperes. More...
 
constexpr auto vnix::units::flt::operator""_m (long double v)
 Interpret a number, suffixed with '_m', as a (literal) number of meters. More...
 
constexpr auto vnix::units::flt::operator""_cm (long double v)
 Interpret a number, suffixed with '_cm', as a (literal) number of centimeters. More...
 
constexpr auto vnix::units::flt::operator""_mm (long double v)
 Interpret a number, suffixed with '_mm', as a (literal) number of millimeters. More...
 
constexpr auto vnix::units::flt::operator""_mum (long double v)
 Interpret a number, suffixed with '_mum', as a (literal) number of micrometers. More...
 
constexpr auto vnix::units::flt::operator""_nm (long double v)
 Interpret a number, suffixed with '_nm', as a (literal) number of nanometers. More...
 
constexpr auto vnix::units::flt::operator""_pm (long double v)
 Interpret a number, suffixed with '_pm', as a (literal) number of picometers. More...
 
constexpr auto vnix::units::flt::operator""_fm (long double v)
 Interpret a number, suffixed with '_fm', as a (literal) number of femtometers. More...
 
constexpr auto vnix::units::flt::operator""_km (long double v)
 Interpret a number, suffixed with '_km', as a (literal) number of kilometers. More...
 
constexpr auto vnix::units::flt::operator""_Mm (long double v)
 Interpret a number, suffixed with '_Mm', as a (literal) number of megameters. More...
 
constexpr auto vnix::units::flt::operator""_g (long double v)
 Interpret a number, suffixed with '_g', as a (literal) number of grams. More...
 
constexpr auto vnix::units::flt::operator""_mg (long double v)
 Interpret a number, suffixed with '_mg', as a (literal) number of milligrams. More...
 
constexpr auto vnix::units::flt::operator""_mug (long double v)
 Interpret a number, suffixed with '_mug', as a (literal) number of micrograms. More...
 
constexpr auto vnix::units::flt::operator""_ng (long double v)
 Interpret a number, suffixed with '_ng', as a (literal) number of nanograms. More...
 
constexpr auto vnix::units::flt::operator""_pg (long double v)
 Interpret a number, suffixed with '_pg', as a (literal) number of picograms. More...
 
constexpr auto vnix::units::flt::operator""_kg (long double v)
 Interpret a number, suffixed with '_kg', as a (literal) number of kilograms. More...
 
constexpr auto vnix::units::flt::operator""_Mg (long double v)
 Interpret a number, suffixed with '_Mg', as a (literal) number of megagrams. More...
 
constexpr auto vnix::units::flt::operator""_s (long double v)
 Interpret a number, suffixed with '_s', as a (literal) number of seconds. More...
 
constexpr auto vnix::units::flt::operator""_ms (long double v)
 Interpret a number, suffixed with '_ms', as a (literal) number of milliseconds. More...
 
constexpr auto vnix::units::flt::operator""_mus (long double v)
 Interpret a number, suffixed with '_mus', as a (literal) number of microseconds. More...
 
constexpr auto vnix::units::flt::operator""_ns (long double v)
 Interpret a number, suffixed with '_ns', as a (literal) number of nanoseconds. More...
 
constexpr auto vnix::units::flt::operator""_ps (long double v)
 Interpret a number, suffixed with '_ps', as a (literal) number of picoseconds. More...
 
constexpr auto vnix::units::flt::operator""_fs (long double v)
 Interpret a number, suffixed with '_fs', as a (literal) number of femtoseconds. More...
 
constexpr auto vnix::units::flt::operator""_C (long double v)
 Interpret a number, suffixed with '_C', as a (literal) number of coulombs. More...
 
constexpr auto vnix::units::flt::operator""_mC (long double v)
 Interpret a number, suffixed with '_mC', as a (literal) number of millicoulombs. More...
 
constexpr auto vnix::units::flt::operator""_muC (long double v)
 Interpret a number, suffixed with '_muC', as a (literal) number of microcoulombs. More...
 
constexpr auto vnix::units::flt::operator""_nC (long double v)
 Interpret a number, suffixed with '_nC', as a (literal) number of nanocoulombs. More...
 
constexpr auto vnix::units::flt::operator""_pC (long double v)
 Interpret a number, suffixed with '_pC', as a (literal) number of picocoulombs. More...
 
constexpr auto vnix::units::flt::operator""_K (long double v)
 Interpret a number, suffixed with '_K', as a (literal) number of kelvins. More...
 
constexpr auto vnix::units::flt::operator""_mK (long double v)
 Interpret a number, suffixed with '_mK', as a (literal) number of millikelvins. More...
 
constexpr auto vnix::units::flt::operator""_muK (long double v)
 Interpret a number, suffixed with '_muK', as a (literal) number of microkelvins. More...
 
constexpr auto vnix::units::flt::operator""_nK (long double v)
 Interpret a number, suffixed with '_nK', as a (literal) number of nanokelvins. More...
 
constexpr auto vnix::units::flt::operator""_ft (long double v)
 Interpret a number, suffixed with '_ft', as a (literal) number of feet. More...
 
constexpr auto vnix::units::flt::operator""_kft (long double v)
 Interpret a number, suffixed with '_kft', as a (literal) number of kilofeet. More...
 
constexpr auto vnix::units::flt::operator""_in (long double v)
 Interpret a number, suffixed with '_in', as a (literal) number of inches. More...
 
constexpr auto vnix::units::flt::operator""_yd (long double v)
 Interpret a number, suffixed with '_yd', as a (literal) number of yards. More...
 
constexpr auto vnix::units::flt::operator""_mi (long double v)
 Interpret a number, suffixed with '_mi', as a (literal) number of miles. More...
 
constexpr auto vnix::units::flt::operator""_N (long double v)
 Interpret a number, suffixed with '_N', as a (literal) number of newtons. More...
 
constexpr auto vnix::units::flt::operator""_mN (long double v)
 Interpret a number, suffixed with '_mN', as a (literal) number of millinewtons. More...
 
constexpr auto vnix::units::flt::operator""_muN (long double v)
 Interpret a number, suffixed with '_muN', as a (literal) number of micronewtons. More...
 
constexpr auto vnix::units::flt::operator""_kN (long double v)
 Interpret a number, suffixed with '_kN', as a (literal) number of kilonewtons. More...
 
constexpr auto vnix::units::flt::operator""_MN (long double v)
 Interpret a number, suffixed with '_MN', as a (literal) number of meganewtons. More...
 
constexpr auto vnix::units::flt::operator""_dyn (long double v)
 Interpret a number, suffixed with '_dyn', as a (literal) number of dynes. More...
 
constexpr auto vnix::units::flt::operator""_J (long double v)
 Interpret a number, suffixed with '_J', as a (literal) number of joules. More...
 
constexpr auto vnix::units::flt::operator""_mJ (long double v)
 Interpret a number, suffixed with '_mJ', as a (literal) number of millijoules. More...
 
constexpr auto vnix::units::flt::operator""_muJ (long double v)
 Interpret a number, suffixed with '_muJ', as a (literal) number of microjoules. More...
 
constexpr auto vnix::units::flt::operator""_kJ (long double v)
 Interpret a number, suffixed with '_kJ', as a (literal) number of kilojoules. More...
 
constexpr auto vnix::units::flt::operator""_MJ (long double v)
 Interpret a number, suffixed with '_MJ', as a (literal) number of megajoules. More...
 
constexpr auto vnix::units::flt::operator""_GJ (long double v)
 Interpret a number, suffixed with '_GJ', as a (literal) number of gigajoules. More...
 
constexpr auto vnix::units::flt::operator""_erg (long double v)
 Interpret a number, suffixed with '_erg', as a (literal) number of ergs. More...
 
constexpr auto vnix::units::flt::operator""_W (long double v)
 Interpret a number, suffixed with '_W', as a (literal) number of watts. More...
 
constexpr auto vnix::units::flt::operator""_mW (long double v)
 Interpret a number, suffixed with '_mW', as a (literal) number of milliwatts. More...
 
constexpr auto vnix::units::flt::operator""_muW (long double v)
 Interpret a number, suffixed with '_muW', as a (literal) number of microwatts. More...
 
constexpr auto vnix::units::flt::operator""_kW (long double v)
 Interpret a number, suffixed with '_kW', as a (literal) number of kilowatts. More...
 
constexpr auto vnix::units::flt::operator""_MW (long double v)
 Interpret a number, suffixed with '_MW', as a (literal) number of megawatts. More...
 
constexpr auto vnix::units::flt::operator""_GW (long double v)
 Interpret a number, suffixed with '_GW', as a (literal) number of gigawatts. More...
 
constexpr auto vnix::units::flt::operator""_A (long double v)
 Interpret a number, suffixed with '_A', as a (literal) number of amperes. More...
 
constexpr auto vnix::units::flt::operator""_mA (long double v)
 Interpret a number, suffixed with '_mA', as a (literal) number of milliamperes. More...
 
constexpr auto vnix::units::flt::operator""_muA (long double v)
 Interpret a number, suffixed with '_muA', as a (literal) number of microamperes. More...
 
constexpr auto vnix::units::dbl::operator""_m (long double v)
 Interpret a number, suffixed with '_m', as a (literal) number of meters. More...
 
constexpr auto vnix::units::dbl::operator""_cm (long double v)
 Interpret a number, suffixed with '_cm', as a (literal) number of centimeters. More...
 
constexpr auto vnix::units::dbl::operator""_mm (long double v)
 Interpret a number, suffixed with '_mm', as a (literal) number of millimeters. More...
 
constexpr auto vnix::units::dbl::operator""_mum (long double v)
 Interpret a number, suffixed with '_mum', as a (literal) number of micrometers. More...
 
constexpr auto vnix::units::dbl::operator""_nm (long double v)
 Interpret a number, suffixed with '_nm', as a (literal) number of nanometers. More...
 
constexpr auto vnix::units::dbl::operator""_pm (long double v)
 Interpret a number, suffixed with '_pm', as a (literal) number of picometers. More...
 
constexpr auto vnix::units::dbl::operator""_fm (long double v)
 Interpret a number, suffixed with '_fm', as a (literal) number of femtometers. More...
 
constexpr auto vnix::units::dbl::operator""_km (long double v)
 Interpret a number, suffixed with '_km', as a (literal) number of kilometers. More...
 
constexpr auto vnix::units::dbl::operator""_Mm (long double v)
 Interpret a number, suffixed with '_Mm', as a (literal) number of megameters. More...
 
constexpr auto vnix::units::dbl::operator""_g (long double v)
 Interpret a number, suffixed with '_g', as a (literal) number of grams. More...
 
constexpr auto vnix::units::dbl::operator""_mg (long double v)
 Interpret a number, suffixed with '_mg', as a (literal) number of milligrams. More...
 
constexpr auto vnix::units::dbl::operator""_mug (long double v)
 Interpret a number, suffixed with '_mug', as a (literal) number of micrograms. More...
 
constexpr auto vnix::units::dbl::operator""_ng (long double v)
 Interpret a number, suffixed with '_ng', as a (literal) number of nanograms. More...
 
constexpr auto vnix::units::dbl::operator""_pg (long double v)
 Interpret a number, suffixed with '_pg', as a (literal) number of picograms. More...
 
constexpr auto vnix::units::dbl::operator""_kg (long double v)
 Interpret a number, suffixed with '_kg', as a (literal) number of kilograms. More...
 
constexpr auto vnix::units::dbl::operator""_Mg (long double v)
 Interpret a number, suffixed with '_Mg', as a (literal) number of megagrams. More...
 
constexpr auto vnix::units::dbl::operator""_s (long double v)
 Interpret a number, suffixed with '_s', as a (literal) number of seconds. More...
 
constexpr auto vnix::units::dbl::operator""_ms (long double v)
 Interpret a number, suffixed with '_ms', as a (literal) number of milliseconds. More...
 
constexpr auto vnix::units::dbl::operator""_mus (long double v)
 Interpret a number, suffixed with '_mus', as a (literal) number of microseconds. More...
 
constexpr auto vnix::units::dbl::operator""_ns (long double v)
 Interpret a number, suffixed with '_ns', as a (literal) number of nanoseconds. More...
 
constexpr auto vnix::units::dbl::operator""_ps (long double v)
 Interpret a number, suffixed with '_ps', as a (literal) number of picoseconds. More...
 
constexpr auto vnix::units::dbl::operator""_fs (long double v)
 Interpret a number, suffixed with '_fs', as a (literal) number of femtoseconds. More...
 
constexpr auto vnix::units::dbl::operator""_C (long double v)
 Interpret a number, suffixed with '_C', as a (literal) number of coulombs. More...
 
constexpr auto vnix::units::dbl::operator""_mC (long double v)
 Interpret a number, suffixed with '_mC', as a (literal) number of millicoulombs. More...
 
constexpr auto vnix::units::dbl::operator""_muC (long double v)
 Interpret a number, suffixed with '_muC', as a (literal) number of microcoulombs. More...
 
constexpr auto vnix::units::dbl::operator""_nC (long double v)
 Interpret a number, suffixed with '_nC', as a (literal) number of nanocoulombs. More...
 
constexpr auto vnix::units::dbl::operator""_pC (long double v)
 Interpret a number, suffixed with '_pC', as a (literal) number of picocoulombs. More...
 
constexpr auto vnix::units::dbl::operator""_K (long double v)
 Interpret a number, suffixed with '_K', as a (literal) number of kelvins. More...
 
constexpr auto vnix::units::dbl::operator""_mK (long double v)
 Interpret a number, suffixed with '_mK', as a (literal) number of millikelvins. More...
 
constexpr auto vnix::units::dbl::operator""_muK (long double v)
 Interpret a number, suffixed with '_muK', as a (literal) number of microkelvins. More...
 
constexpr auto vnix::units::dbl::operator""_nK (long double v)
 Interpret a number, suffixed with '_nK', as a (literal) number of nanokelvins. More...
 
constexpr auto vnix::units::dbl::operator""_ft (long double v)
 Interpret a number, suffixed with '_ft', as a (literal) number of feet. More...
 
constexpr auto vnix::units::dbl::operator""_kft (long double v)
 Interpret a number, suffixed with '_kft', as a (literal) number of kilofeet. More...
 
constexpr auto vnix::units::dbl::operator""_in (long double v)
 Interpret a number, suffixed with '_in', as a (literal) number of inches. More...
 
constexpr auto vnix::units::dbl::operator""_yd (long double v)
 Interpret a number, suffixed with '_yd', as a (literal) number of yards. More...
 
constexpr auto vnix::units::dbl::operator""_mi (long double v)
 Interpret a number, suffixed with '_mi', as a (literal) number of miles. More...
 
constexpr auto vnix::units::dbl::operator""_N (long double v)
 Interpret a number, suffixed with '_N', as a (literal) number of newtons. More...
 
constexpr auto vnix::units::dbl::operator""_mN (long double v)
 Interpret a number, suffixed with '_mN', as a (literal) number of millinewtons. More...
 
constexpr auto vnix::units::dbl::operator""_muN (long double v)
 Interpret a number, suffixed with '_muN', as a (literal) number of micronewtons. More...
 
constexpr auto vnix::units::dbl::operator""_kN (long double v)
 Interpret a number, suffixed with '_kN', as a (literal) number of kilonewtons. More...
 
constexpr auto vnix::units::dbl::operator""_MN (long double v)
 Interpret a number, suffixed with '_MN', as a (literal) number of meganewtons. More...
 
constexpr auto vnix::units::dbl::operator""_dyn (long double v)
 Interpret a number, suffixed with '_dyn', as a (literal) number of dynes. More...
 
constexpr auto vnix::units::dbl::operator""_J (long double v)
 Interpret a number, suffixed with '_J', as a (literal) number of joules. More...
 
constexpr auto vnix::units::dbl::operator""_mJ (long double v)
 Interpret a number, suffixed with '_mJ', as a (literal) number of millijoules. More...
 
constexpr auto vnix::units::dbl::operator""_muJ (long double v)
 Interpret a number, suffixed with '_muJ', as a (literal) number of microjoules. More...
 
constexpr auto vnix::units::dbl::operator""_kJ (long double v)
 Interpret a number, suffixed with '_kJ', as a (literal) number of kilojoules. More...
 
constexpr auto vnix::units::dbl::operator""_MJ (long double v)
 Interpret a number, suffixed with '_MJ', as a (literal) number of megajoules. More...
 
constexpr auto vnix::units::dbl::operator""_GJ (long double v)
 Interpret a number, suffixed with '_GJ', as a (literal) number of gigajoules. More...
 
constexpr auto vnix::units::dbl::operator""_erg (long double v)
 Interpret a number, suffixed with '_erg', as a (literal) number of ergs. More...
 
constexpr auto vnix::units::dbl::operator""_W (long double v)
 Interpret a number, suffixed with '_W', as a (literal) number of watts. More...
 
constexpr auto vnix::units::dbl::operator""_mW (long double v)
 Interpret a number, suffixed with '_mW', as a (literal) number of milliwatts. More...
 
constexpr auto vnix::units::dbl::operator""_muW (long double v)
 Interpret a number, suffixed with '_muW', as a (literal) number of microwatts. More...
 
constexpr auto vnix::units::dbl::operator""_kW (long double v)
 Interpret a number, suffixed with '_kW', as a (literal) number of kilowatts. More...
 
constexpr auto vnix::units::dbl::operator""_MW (long double v)
 Interpret a number, suffixed with '_MW', as a (literal) number of megawatts. More...
 
constexpr auto vnix::units::dbl::operator""_GW (long double v)
 Interpret a number, suffixed with '_GW', as a (literal) number of gigawatts. More...
 
constexpr auto vnix::units::dbl::operator""_A (long double v)
 Interpret a number, suffixed with '_A', as a (literal) number of amperes. More...
 
constexpr auto vnix::units::dbl::operator""_mA (long double v)
 Interpret a number, suffixed with '_mA', as a (literal) number of milliamperes. More...
 
constexpr auto vnix::units::dbl::operator""_muA (long double v)
 Interpret a number, suffixed with '_muA', as a (literal) number of microamperes. More...
 
constexpr auto vnix::units::ldbl::operator""_m (long double v)
 Interpret a number, suffixed with '_m', as a (literal) number of meters. More...
 
constexpr auto vnix::units::ldbl::operator""_cm (long double v)
 Interpret a number, suffixed with '_cm', as a (literal) number of centimeters. More...
 
constexpr auto vnix::units::ldbl::operator""_mm (long double v)
 Interpret a number, suffixed with '_mm', as a (literal) number of millimeters. More...
 
constexpr auto vnix::units::ldbl::operator""_mum (long double v)
 Interpret a number, suffixed with '_mum', as a (literal) number of micrometers. More...
 
constexpr auto vnix::units::ldbl::operator""_nm (long double v)
 Interpret a number, suffixed with '_nm', as a (literal) number of nanometers. More...
 
constexpr auto vnix::units::ldbl::operator""_pm (long double v)
 Interpret a number, suffixed with '_pm', as a (literal) number of picometers. More...
 
constexpr auto vnix::units::ldbl::operator""_fm (long double v)
 Interpret a number, suffixed with '_fm', as a (literal) number of femtometers. More...
 
constexpr auto vnix::units::ldbl::operator""_km (long double v)
 Interpret a number, suffixed with '_km', as a (literal) number of kilometers. More...
 
constexpr auto vnix::units::ldbl::operator""_Mm (long double v)
 Interpret a number, suffixed with '_Mm', as a (literal) number of megameters. More...
 
constexpr auto vnix::units::ldbl::operator""_g (long double v)
 Interpret a number, suffixed with '_g', as a (literal) number of grams. More...
 
constexpr auto vnix::units::ldbl::operator""_mg (long double v)
 Interpret a number, suffixed with '_mg', as a (literal) number of milligrams. More...
 
constexpr auto vnix::units::ldbl::operator""_mug (long double v)
 Interpret a number, suffixed with '_mug', as a (literal) number of micrograms. More...
 
constexpr auto vnix::units::ldbl::operator""_ng (long double v)
 Interpret a number, suffixed with '_ng', as a (literal) number of nanograms. More...
 
constexpr auto vnix::units::ldbl::operator""_pg (long double v)
 Interpret a number, suffixed with '_pg', as a (literal) number of picograms. More...
 
constexpr auto vnix::units::ldbl::operator""_kg (long double v)
 Interpret a number, suffixed with '_kg', as a (literal) number of kilograms. More...
 
constexpr auto vnix::units::ldbl::operator""_Mg (long double v)
 Interpret a number, suffixed with '_Mg', as a (literal) number of megagrams. More...
 
constexpr auto vnix::units::ldbl::operator""_s (long double v)
 Interpret a number, suffixed with '_s', as a (literal) number of seconds. More...
 
constexpr auto vnix::units::ldbl::operator""_ms (long double v)
 Interpret a number, suffixed with '_ms', as a (literal) number of milliseconds. More...
 
constexpr auto vnix::units::ldbl::operator""_mus (long double v)
 Interpret a number, suffixed with '_mus', as a (literal) number of microseconds. More...
 
constexpr auto vnix::units::ldbl::operator""_ns (long double v)
 Interpret a number, suffixed with '_ns', as a (literal) number of nanoseconds. More...
 
constexpr auto vnix::units::ldbl::operator""_ps (long double v)
 Interpret a number, suffixed with '_ps', as a (literal) number of picoseconds. More...
 
constexpr auto vnix::units::ldbl::operator""_fs (long double v)
 Interpret a number, suffixed with '_fs', as a (literal) number of femtoseconds. More...
 
constexpr auto vnix::units::ldbl::operator""_C (long double v)
 Interpret a number, suffixed with '_C', as a (literal) number of coulombs. More...
 
constexpr auto vnix::units::ldbl::operator""_mC (long double v)
 Interpret a number, suffixed with '_mC', as a (literal) number of millicoulombs. More...
 
constexpr auto vnix::units::ldbl::operator""_muC (long double v)
 Interpret a number, suffixed with '_muC', as a (literal) number of microcoulombs. More...
 
constexpr auto vnix::units::ldbl::operator""_nC (long double v)
 Interpret a number, suffixed with '_nC', as a (literal) number of nanocoulombs. More...
 
constexpr auto vnix::units::ldbl::operator""_pC (long double v)
 Interpret a number, suffixed with '_pC', as a (literal) number of picocoulombs. More...
 
constexpr auto vnix::units::ldbl::operator""_K (long double v)
 Interpret a number, suffixed with '_K', as a (literal) number of kelvins. More...
 
constexpr auto vnix::units::ldbl::operator""_mK (long double v)
 Interpret a number, suffixed with '_mK', as a (literal) number of millikelvins. More...
 
constexpr auto vnix::units::ldbl::operator""_muK (long double v)
 Interpret a number, suffixed with '_muK', as a (literal) number of microkelvins. More...
 
constexpr auto vnix::units::ldbl::operator""_nK (long double v)
 Interpret a number, suffixed with '_nK', as a (literal) number of nanokelvins. More...
 
constexpr auto vnix::units::ldbl::operator""_ft (long double v)
 Interpret a number, suffixed with '_ft', as a (literal) number of feet. More...
 
constexpr auto vnix::units::ldbl::operator""_kft (long double v)
 Interpret a number, suffixed with '_kft', as a (literal) number of kilofeet. More...
 
constexpr auto vnix::units::ldbl::operator""_in (long double v)
 Interpret a number, suffixed with '_in', as a (literal) number of inches. More...
 
constexpr auto vnix::units::ldbl::operator""_yd (long double v)
 Interpret a number, suffixed with '_yd', as a (literal) number of yards. More...
 
constexpr auto vnix::units::ldbl::operator""_mi (long double v)
 Interpret a number, suffixed with '_mi', as a (literal) number of miles. More...
 
constexpr auto vnix::units::ldbl::operator""_N (long double v)
 Interpret a number, suffixed with '_N', as a (literal) number of newtons. More...
 
constexpr auto vnix::units::ldbl::operator""_mN (long double v)
 Interpret a number, suffixed with '_mN', as a (literal) number of millinewtons. More...
 
constexpr auto vnix::units::ldbl::operator""_muN (long double v)
 Interpret a number, suffixed with '_muN', as a (literal) number of micronewtons. More...
 
constexpr auto vnix::units::ldbl::operator""_kN (long double v)
 Interpret a number, suffixed with '_kN', as a (literal) number of kilonewtons. More...
 
constexpr auto vnix::units::ldbl::operator""_MN (long double v)
 Interpret a number, suffixed with '_MN', as a (literal) number of meganewtons. More...
 
constexpr auto vnix::units::ldbl::operator""_dyn (long double v)
 Interpret a number, suffixed with '_dyn', as a (literal) number of dynes. More...
 
constexpr auto vnix::units::ldbl::operator""_J (long double v)
 Interpret a number, suffixed with '_J', as a (literal) number of joules. More...
 
constexpr auto vnix::units::ldbl::operator""_mJ (long double v)
 Interpret a number, suffixed with '_mJ', as a (literal) number of millijoules. More...
 
constexpr auto vnix::units::ldbl::operator""_muJ (long double v)
 Interpret a number, suffixed with '_muJ', as a (literal) number of microjoules. More...
 
constexpr auto vnix::units::ldbl::operator""_kJ (long double v)
 Interpret a number, suffixed with '_kJ', as a (literal) number of kilojoules. More...
 
constexpr auto vnix::units::ldbl::operator""_MJ (long double v)
 Interpret a number, suffixed with '_MJ', as a (literal) number of megajoules. More...
 
constexpr auto vnix::units::ldbl::operator""_GJ (long double v)
 Interpret a number, suffixed with '_GJ', as a (literal) number of gigajoules. More...
 
constexpr auto vnix::units::ldbl::operator""_erg (long double v)
 Interpret a number, suffixed with '_erg', as a (literal) number of ergs. More...
 
constexpr auto vnix::units::ldbl::operator""_W (long double v)
 Interpret a number, suffixed with '_W', as a (literal) number of watts. More...
 
constexpr auto vnix::units::ldbl::operator""_mW (long double v)
 Interpret a number, suffixed with '_mW', as a (literal) number of milliwatts. More...
 
constexpr auto vnix::units::ldbl::operator""_muW (long double v)
 Interpret a number, suffixed with '_muW', as a (literal) number of microwatts. More...
 
constexpr auto vnix::units::ldbl::operator""_kW (long double v)
 Interpret a number, suffixed with '_kW', as a (literal) number of kilowatts. More...
 
constexpr auto vnix::units::ldbl::operator""_MW (long double v)
 Interpret a number, suffixed with '_MW', as a (literal) number of megawatts. More...
 
constexpr auto vnix::units::ldbl::operator""_GW (long double v)
 Interpret a number, suffixed with '_GW', as a (literal) number of gigawatts. More...
 
constexpr auto vnix::units::ldbl::operator""_A (long double v)
 Interpret a number, suffixed with '_A', as a (literal) number of amperes. More...
 
constexpr auto vnix::units::ldbl::operator""_mA (long double v)
 Interpret a number, suffixed with '_mA', as a (literal) number of milliamperes. More...
 
constexpr auto vnix::units::ldbl::operator""_muA (long double v)
 Interpret a number, suffixed with '_muA', as a (literal) number of microamperes. More...
 

Variables

constexpr auto vnix::units::flt::m = impl::m<float>
 Constant-expression symbol for m. More...
 
constexpr auto vnix::units::flt::cm = impl::cm<float>
 Constant-expression symbol for cm. More...
 
constexpr auto vnix::units::flt::mm = impl::mm<float>
 Constant-expression symbol for mm. More...
 
constexpr auto vnix::units::flt::mum = impl::mum<float>
 Constant-expression symbol for mum. More...
 
constexpr auto vnix::units::flt::nm = impl::nm<float>
 Constant-expression symbol for nm. More...
 
constexpr auto vnix::units::flt::pm = impl::pm<float>
 Constant-expression symbol for pm. More...
 
constexpr auto vnix::units::flt::fm = impl::fm<float>
 Constant-expression symbol for fm. More...
 
constexpr auto vnix::units::flt::km = impl::km<float>
 Constant-expression symbol for km. More...
 
constexpr auto vnix::units::flt::Mm = impl::Mm<float>
 Constant-expression symbol for Mm. More...
 
constexpr auto vnix::units::flt::g = impl::g<float>
 Constant-expression symbol for g. More...
 
constexpr auto vnix::units::flt::mg = impl::mg<float>
 Constant-expression symbol for mg. More...
 
constexpr auto vnix::units::flt::mug = impl::mug<float>
 Constant-expression symbol for mug. More...
 
constexpr auto vnix::units::flt::ng = impl::ng<float>
 Constant-expression symbol for ng. More...
 
constexpr auto vnix::units::flt::pg = impl::pg<float>
 Constant-expression symbol for pg. More...
 
constexpr auto vnix::units::flt::kg = impl::kg<float>
 Constant-expression symbol for kg. More...
 
constexpr auto vnix::units::flt::Mg = impl::Mg<float>
 Constant-expression symbol for Mg. More...
 
constexpr auto vnix::units::flt::s = impl::s<float>
 Constant-expression symbol for s. More...
 
constexpr auto vnix::units::flt::ms = impl::ms<float>
 Constant-expression symbol for ms. More...
 
constexpr auto vnix::units::flt::mus = impl::mus<float>
 Constant-expression symbol for mus. More...
 
constexpr auto vnix::units::flt::ns = impl::ns<float>
 Constant-expression symbol for ns. More...
 
constexpr auto vnix::units::flt::ps = impl::ps<float>
 Constant-expression symbol for ps. More...
 
constexpr auto vnix::units::flt::fs = impl::fs<float>
 Constant-expression symbol for fs. More...
 
constexpr auto vnix::units::flt::C = impl::C<float>
 Constant-expression symbol for C. More...
 
constexpr auto vnix::units::flt::mC = impl::mC<float>
 Constant-expression symbol for mC. More...
 
constexpr auto vnix::units::flt::muC = impl::muC<float>
 Constant-expression symbol for muC. More...
 
constexpr auto vnix::units::flt::nC = impl::nC<float>
 Constant-expression symbol for nC. More...
 
constexpr auto vnix::units::flt::pC = impl::pC<float>
 Constant-expression symbol for pC. More...
 
constexpr auto vnix::units::flt::K = impl::K<float>
 Constant-expression symbol for K. More...
 
constexpr auto vnix::units::flt::mK = impl::mK<float>
 Constant-expression symbol for mK. More...
 
constexpr auto vnix::units::flt::muK = impl::muK<float>
 Constant-expression symbol for muK. More...
 
constexpr auto vnix::units::flt::nK = impl::nK<float>
 Constant-expression symbol for nK. More...
 
constexpr auto vnix::units::flt::ft = impl::ft<float>
 Constant-expression symbol for ft. More...
 
constexpr auto vnix::units::flt::kft = impl::kft<float>
 Constant-expression symbol for kft. More...
 
constexpr auto vnix::units::flt::in = impl::in<float>
 Constant-expression symbol for in. More...
 
constexpr auto vnix::units::flt::yd = impl::yd<float>
 Constant-expression symbol for yd. More...
 
constexpr auto vnix::units::flt::mi = impl::mi<float>
 Constant-expression symbol for mi. More...
 
constexpr auto vnix::units::flt::N = impl::N<float>
 Constant-expression symbol for N. More...
 
constexpr auto vnix::units::flt::mN = impl::mN<float>
 Constant-expression symbol for mN. More...
 
constexpr auto vnix::units::flt::muN = impl::muN<float>
 Constant-expression symbol for muN. More...
 
constexpr auto vnix::units::flt::kN = impl::kN<float>
 Constant-expression symbol for kN. More...
 
constexpr auto vnix::units::flt::MN = impl::MN<float>
 Constant-expression symbol for MN. More...
 
constexpr auto vnix::units::flt::dyn = impl::dyn<float>
 Constant-expression symbol for dyn. More...
 
constexpr auto vnix::units::flt::J = impl::J<float>
 Constant-expression symbol for J. More...
 
constexpr auto vnix::units::flt::mJ = impl::mJ<float>
 Constant-expression symbol for mJ. More...
 
constexpr auto vnix::units::flt::muJ = impl::muJ<float>
 Constant-expression symbol for muJ. More...
 
constexpr auto vnix::units::flt::kJ = impl::kJ<float>
 Constant-expression symbol for kJ. More...
 
constexpr auto vnix::units::flt::MJ = impl::MJ<float>
 Constant-expression symbol for MJ. More...
 
constexpr auto vnix::units::flt::GJ = impl::GJ<float>
 Constant-expression symbol for GJ. More...
 
constexpr auto vnix::units::flt::erg = impl::erg<float>
 Constant-expression symbol for erg. More...
 
constexpr auto vnix::units::flt::W = impl::W<float>
 Constant-expression symbol for W. More...
 
constexpr auto vnix::units::flt::mW = impl::mW<float>
 Constant-expression symbol for mW. More...
 
constexpr auto vnix::units::flt::muW = impl::muW<float>
 Constant-expression symbol for muW. More...
 
constexpr auto vnix::units::flt::kW = impl::kW<float>
 Constant-expression symbol for kW. More...
 
constexpr auto vnix::units::flt::MW = impl::MW<float>
 Constant-expression symbol for MW. More...
 
constexpr auto vnix::units::flt::GW = impl::GW<float>
 Constant-expression symbol for GW. More...
 
constexpr auto vnix::units::flt::A = impl::A<float>
 Constant-expression symbol for A. More...
 
constexpr auto vnix::units::flt::mA = impl::mA<float>
 Constant-expression symbol for mA. More...
 
constexpr auto vnix::units::flt::muA = impl::muA<float>
 Constant-expression symbol for muA. More...
 
constexpr auto vnix::units::dbl::m = impl::m<double>
 Constant-expression symbol for m. More...
 
constexpr auto vnix::units::dbl::cm = impl::cm<double>
 Constant-expression symbol for cm. More...
 
constexpr auto vnix::units::dbl::mm = impl::mm<double>
 Constant-expression symbol for mm. More...
 
constexpr auto vnix::units::dbl::mum = impl::mum<double>
 Constant-expression symbol for mum. More...
 
constexpr auto vnix::units::dbl::nm = impl::nm<double>
 Constant-expression symbol for nm. More...
 
constexpr auto vnix::units::dbl::pm = impl::pm<double>
 Constant-expression symbol for pm. More...
 
constexpr auto vnix::units::dbl::fm = impl::fm<double>
 Constant-expression symbol for fm. More...
 
constexpr auto vnix::units::dbl::km = impl::km<double>
 Constant-expression symbol for km. More...
 
constexpr auto vnix::units::dbl::Mm = impl::Mm<double>
 Constant-expression symbol for Mm. More...
 
constexpr auto vnix::units::dbl::g = impl::g<double>
 Constant-expression symbol for g. More...
 
constexpr auto vnix::units::dbl::mg = impl::mg<double>
 Constant-expression symbol for mg. More...
 
constexpr auto vnix::units::dbl::mug = impl::mug<double>
 Constant-expression symbol for mug. More...
 
constexpr auto vnix::units::dbl::ng = impl::ng<double>
 Constant-expression symbol for ng. More...
 
constexpr auto vnix::units::dbl::pg = impl::pg<double>
 Constant-expression symbol for pg. More...
 
constexpr auto vnix::units::dbl::kg = impl::kg<double>
 Constant-expression symbol for kg. More...
 
constexpr auto vnix::units::dbl::Mg = impl::Mg<double>
 Constant-expression symbol for Mg. More...
 
constexpr auto vnix::units::dbl::s = impl::s<double>
 Constant-expression symbol for s. More...
 
constexpr auto vnix::units::dbl::ms = impl::ms<double>
 Constant-expression symbol for ms. More...
 
constexpr auto vnix::units::dbl::mus = impl::mus<double>
 Constant-expression symbol for mus. More...
 
constexpr auto vnix::units::dbl::ns = impl::ns<double>
 Constant-expression symbol for ns. More...
 
constexpr auto vnix::units::dbl::ps = impl::ps<double>
 Constant-expression symbol for ps. More...
 
constexpr auto vnix::units::dbl::fs = impl::fs<double>
 Constant-expression symbol for fs. More...
 
constexpr auto vnix::units::dbl::C = impl::C<double>
 Constant-expression symbol for C. More...
 
constexpr auto vnix::units::dbl::mC = impl::mC<double>
 Constant-expression symbol for mC. More...
 
constexpr auto vnix::units::dbl::muC = impl::muC<double>
 Constant-expression symbol for muC. More...
 
constexpr auto vnix::units::dbl::nC = impl::nC<double>
 Constant-expression symbol for nC. More...
 
constexpr auto vnix::units::dbl::pC = impl::pC<double>
 Constant-expression symbol for pC. More...
 
constexpr auto vnix::units::dbl::K = impl::K<double>
 Constant-expression symbol for K. More...
 
constexpr auto vnix::units::dbl::mK = impl::mK<double>
 Constant-expression symbol for mK. More...
 
constexpr auto vnix::units::dbl::muK = impl::muK<double>
 Constant-expression symbol for muK. More...
 
constexpr auto vnix::units::dbl::nK = impl::nK<double>
 Constant-expression symbol for nK. More...
 
constexpr auto vnix::units::dbl::ft = impl::ft<double>
 Constant-expression symbol for ft. More...
 
constexpr auto vnix::units::dbl::kft = impl::kft<double>
 Constant-expression symbol for kft. More...
 
constexpr auto vnix::units::dbl::in = impl::in<double>
 Constant-expression symbol for in. More...
 
constexpr auto vnix::units::dbl::yd = impl::yd<double>
 Constant-expression symbol for yd. More...
 
constexpr auto vnix::units::dbl::mi = impl::mi<double>
 Constant-expression symbol for mi. More...
 
constexpr auto vnix::units::dbl::N = impl::N<double>
 Constant-expression symbol for N. More...
 
constexpr auto vnix::units::dbl::mN = impl::mN<double>
 Constant-expression symbol for mN. More...
 
constexpr auto vnix::units::dbl::muN = impl::muN<double>
 Constant-expression symbol for muN. More...
 
constexpr auto vnix::units::dbl::kN = impl::kN<double>
 Constant-expression symbol for kN. More...
 
constexpr auto vnix::units::dbl::MN = impl::MN<double>
 Constant-expression symbol for MN. More...
 
constexpr auto vnix::units::dbl::dyn = impl::dyn<double>
 Constant-expression symbol for dyn. More...
 
constexpr auto vnix::units::dbl::J = impl::J<double>
 Constant-expression symbol for J. More...
 
constexpr auto vnix::units::dbl::mJ = impl::mJ<double>
 Constant-expression symbol for mJ. More...
 
constexpr auto vnix::units::dbl::muJ = impl::muJ<double>
 Constant-expression symbol for muJ. More...
 
constexpr auto vnix::units::dbl::kJ = impl::kJ<double>
 Constant-expression symbol for kJ. More...
 
constexpr auto vnix::units::dbl::MJ = impl::MJ<double>
 Constant-expression symbol for MJ. More...
 
constexpr auto vnix::units::dbl::GJ = impl::GJ<double>
 Constant-expression symbol for GJ. More...
 
constexpr auto vnix::units::dbl::erg = impl::erg<double>
 Constant-expression symbol for erg. More...
 
constexpr auto vnix::units::dbl::W = impl::W<double>
 Constant-expression symbol for W. More...
 
constexpr auto vnix::units::dbl::mW = impl::mW<double>
 Constant-expression symbol for mW. More...
 
constexpr auto vnix::units::dbl::muW = impl::muW<double>
 Constant-expression symbol for muW. More...
 
constexpr auto vnix::units::dbl::kW = impl::kW<double>
 Constant-expression symbol for kW. More...
 
constexpr auto vnix::units::dbl::MW = impl::MW<double>
 Constant-expression symbol for MW. More...
 
constexpr auto vnix::units::dbl::GW = impl::GW<double>
 Constant-expression symbol for GW. More...
 
constexpr auto vnix::units::dbl::A = impl::A<double>
 Constant-expression symbol for A. More...
 
constexpr auto vnix::units::dbl::mA = impl::mA<double>
 Constant-expression symbol for mA. More...
 
constexpr auto vnix::units::dbl::muA = impl::muA<double>
 Constant-expression symbol for muA. More...
 
constexpr auto vnix::units::ldbl::m = impl::m<long double>
 Constant-expression symbol for m. More...
 
constexpr auto vnix::units::ldbl::cm = impl::cm<long double>
 Constant-expression symbol for cm. More...
 
constexpr auto vnix::units::ldbl::mm = impl::mm<long double>
 Constant-expression symbol for mm. More...
 
constexpr auto vnix::units::ldbl::mum = impl::mum<long double>
 Constant-expression symbol for mum. More...
 
constexpr auto vnix::units::ldbl::nm = impl::nm<long double>
 Constant-expression symbol for nm. More...
 
constexpr auto vnix::units::ldbl::pm = impl::pm<long double>
 Constant-expression symbol for pm. More...
 
constexpr auto vnix::units::ldbl::fm = impl::fm<long double>
 Constant-expression symbol for fm. More...
 
constexpr auto vnix::units::ldbl::km = impl::km<long double>
 Constant-expression symbol for km. More...
 
constexpr auto vnix::units::ldbl::Mm = impl::Mm<long double>
 Constant-expression symbol for Mm. More...
 
constexpr auto vnix::units::ldbl::g = impl::g<long double>
 Constant-expression symbol for g. More...
 
constexpr auto vnix::units::ldbl::mg = impl::mg<long double>
 Constant-expression symbol for mg. More...
 
constexpr auto vnix::units::ldbl::mug = impl::mug<long double>
 Constant-expression symbol for mug. More...
 
constexpr auto vnix::units::ldbl::ng = impl::ng<long double>
 Constant-expression symbol for ng. More...
 
constexpr auto vnix::units::ldbl::pg = impl::pg<long double>
 Constant-expression symbol for pg. More...
 
constexpr auto vnix::units::ldbl::kg = impl::kg<long double>
 Constant-expression symbol for kg. More...
 
constexpr auto vnix::units::ldbl::Mg = impl::Mg<long double>
 Constant-expression symbol for Mg. More...
 
constexpr auto vnix::units::ldbl::s = impl::s<long double>
 Constant-expression symbol for s. More...
 
constexpr auto vnix::units::ldbl::ms = impl::ms<long double>
 Constant-expression symbol for ms. More...
 
constexpr auto vnix::units::ldbl::mus = impl::mus<long double>
 Constant-expression symbol for mus. More...
 
constexpr auto vnix::units::ldbl::ns = impl::ns<long double>
 Constant-expression symbol for ns. More...
 
constexpr auto vnix::units::ldbl::ps = impl::ps<long double>
 Constant-expression symbol for ps. More...
 
constexpr auto vnix::units::ldbl::fs = impl::fs<long double>
 Constant-expression symbol for fs. More...
 
constexpr auto vnix::units::ldbl::C = impl::C<long double>
 Constant-expression symbol for C. More...
 
constexpr auto vnix::units::ldbl::mC = impl::mC<long double>
 Constant-expression symbol for mC. More...
 
constexpr auto vnix::units::ldbl::muC = impl::muC<long double>
 Constant-expression symbol for muC. More...
 
constexpr auto vnix::units::ldbl::nC = impl::nC<long double>
 Constant-expression symbol for nC. More...
 
constexpr auto vnix::units::ldbl::pC = impl::pC<long double>
 Constant-expression symbol for pC. More...
 
constexpr auto vnix::units::ldbl::K = impl::K<long double>
 Constant-expression symbol for K. More...
 
constexpr auto vnix::units::ldbl::mK = impl::mK<long double>
 Constant-expression symbol for mK. More...
 
constexpr auto vnix::units::ldbl::muK = impl::muK<long double>
 Constant-expression symbol for muK. More...
 
constexpr auto vnix::units::ldbl::nK = impl::nK<long double>
 Constant-expression symbol for nK. More...
 
constexpr auto vnix::units::ldbl::ft = impl::ft<long double>
 Constant-expression symbol for ft. More...
 
constexpr auto vnix::units::ldbl::kft = impl::kft<long double>
 Constant-expression symbol for kft. More...
 
constexpr auto vnix::units::ldbl::in = impl::in<long double>
 Constant-expression symbol for in. More...
 
constexpr auto vnix::units::ldbl::yd = impl::yd<long double>
 Constant-expression symbol for yd. More...
 
constexpr auto vnix::units::ldbl::mi = impl::mi<long double>
 Constant-expression symbol for mi. More...
 
constexpr auto vnix::units::ldbl::N = impl::N<long double>
 Constant-expression symbol for N. More...
 
constexpr auto vnix::units::ldbl::mN = impl::mN<long double>
 Constant-expression symbol for mN. More...
 
constexpr auto vnix::units::ldbl::muN = impl::muN<long double>
 Constant-expression symbol for muN. More...
 
constexpr auto vnix::units::ldbl::kN = impl::kN<long double>
 Constant-expression symbol for kN. More...
 
constexpr auto vnix::units::ldbl::MN = impl::MN<long double>
 Constant-expression symbol for MN. More...
 
constexpr auto vnix::units::ldbl::dyn = impl::dyn<long double>
 Constant-expression symbol for dyn. More...
 
constexpr auto vnix::units::ldbl::J = impl::J<long double>
 Constant-expression symbol for J. More...
 
constexpr auto vnix::units::ldbl::mJ = impl::mJ<long double>
 Constant-expression symbol for mJ. More...
 
constexpr auto vnix::units::ldbl::muJ = impl::muJ<long double>
 Constant-expression symbol for muJ. More...
 
constexpr auto vnix::units::ldbl::kJ = impl::kJ<long double>
 Constant-expression symbol for kJ. More...
 
constexpr auto vnix::units::ldbl::MJ = impl::MJ<long double>
 Constant-expression symbol for MJ. More...
 
constexpr auto vnix::units::ldbl::GJ = impl::GJ<long double>
 Constant-expression symbol for GJ. More...
 
constexpr auto vnix::units::ldbl::erg = impl::erg<long double>
 Constant-expression symbol for erg. More...
 
constexpr auto vnix::units::ldbl::W = impl::W<long double>
 Constant-expression symbol for W. More...
 
constexpr auto vnix::units::ldbl::mW = impl::mW<long double>
 Constant-expression symbol for mW. More...
 
constexpr auto vnix::units::ldbl::muW = impl::muW<long double>
 Constant-expression symbol for muW. More...
 
constexpr auto vnix::units::ldbl::kW = impl::kW<long double>
 Constant-expression symbol for kW. More...
 
constexpr auto vnix::units::ldbl::MW = impl::MW<long double>
 Constant-expression symbol for MW. More...
 
constexpr auto vnix::units::ldbl::GW = impl::GW<long double>
 Constant-expression symbol for GW. More...
 
constexpr auto vnix::units::ldbl::A = impl::A<long double>
 Constant-expression symbol for A. More...
 
constexpr auto vnix::units::ldbl::mA = impl::mA<long double>
 Constant-expression symbol for mA. More...
 
constexpr auto vnix::units::ldbl::muA = impl::muA<long double>
 Constant-expression symbol for muA. More...
 

Detailed Description

Definition of various units in namespaces vnix::units::flt, vnix::units::dbl, and vnix::units::ldbl.

License: BSD three-clause; see LICENSE.

Definition in file units.hpp.