#include <algorithm>
#include <boost/config.hpp>
#include <boost/static_assert.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/mpl/and.hpp>
#include <boost/mpl/not.hpp>
#include <boost/mpl/or.hpp>
#include <boost/mpl/assert.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_arithmetic.hpp>
#include <boost/type_traits/is_convertible.hpp>
#include <boost/type_traits/is_integral.hpp>
#include <boost/type_traits/is_same.hpp>
#include <boost/units/conversion.hpp>
#include <boost/units/dimensionless_type.hpp>
#include <boost/units/homogeneous_system.hpp>
#include <boost/units/operators.hpp>
#include <boost/units/static_rational.hpp>
#include <boost/units/units_fwd.hpp>
#include <boost/units/detail/dimensionless_unit.hpp>
Namespaces | |
boost | |
Duration formatting facet for input. | |
boost::units | |
boost::units::detail | |
Functions | |
template<class X , class Y > | |
X | boost::units::quantity_cast (Y &source) |
quantity_cast provides mutating access to underlying quantity value_type More... | |
template<class X , class Y > | |
X | boost::units::quantity_cast (const Y &source) |
template<class Unit , class Y > | |
void | boost::units::swap (quantity< Unit, Y > &lhs, quantity< Unit, Y > &rhs) |
swap quantities More... | |
template<class System , class Dim , class Y > | |
multiply_typeof_helper< unit < Dim, System >, Y >::type | boost::units::operator* (const unit< Dim, System > &, const Y &rhs) |
runtime unit times scalar INTERNAL ONLY More... | |
template<class System , class Dim , class Y > | |
divide_typeof_helper< unit < Dim, System >, Y >::type | boost::units::operator/ (const unit< Dim, System > &, const Y &rhs) |
runtime unit divided by scalar More... | |
template<class System , class Dim , class Y > | |
multiply_typeof_helper< Y, unit< Dim, System > >::type | boost::units::operator* (const Y &lhs, const unit< Dim, System > &) |
runtime scalar times unit More... | |
template<class System , class Dim , class Y > | |
divide_typeof_helper< Y, unit < Dim, System > >::type | boost::units::operator/ (const Y &lhs, const unit< Dim, System > &) |
runtime scalar divided by unit More... | |
template<class Unit , class X > | |
multiply_typeof_helper < quantity< Unit, X >, X > ::type | boost::units::operator* (const quantity< Unit, X > &lhs, const X &rhs) |
runtime quantity times scalar More... | |
template<class Unit , class X > | |
multiply_typeof_helper< X, quantity< Unit, X > >::type | boost::units::operator* (const X &lhs, const quantity< Unit, X > &rhs) |
runtime scalar times quantity More... | |
template<class Unit , class X > | |
divide_typeof_helper< quantity < Unit, X >, X >::type | boost::units::operator/ (const quantity< Unit, X > &lhs, const X &rhs) |
runtime quantity divided by scalar More... | |
template<class Unit , class X > | |
divide_typeof_helper< X, quantity< Unit, X > >::type | boost::units::operator/ (const X &lhs, const quantity< Unit, X > &rhs) |
runtime scalar divided by quantity More... | |
template<class System1 , class Dim1 , class Unit2 , class Y > | |
multiply_typeof_helper< unit < Dim1, System1 >, quantity < Unit2, Y > >::type | boost::units::operator* (const unit< Dim1, System1 > &, const quantity< Unit2, Y > &rhs) |
runtime unit times quantity More... | |
template<class System1 , class Dim1 , class Unit2 , class Y > | |
divide_typeof_helper< unit < Dim1, System1 >, quantity < Unit2, Y > >::type | boost::units::operator/ (const unit< Dim1, System1 > &, const quantity< Unit2, Y > &rhs) |
runtime unit divided by quantity More... | |
template<class Unit1 , class System2 , class Dim2 , class Y > | |
multiply_typeof_helper < quantity< Unit1, Y >, unit < Dim2, System2 > >::type | boost::units::operator* (const quantity< Unit1, Y > &lhs, const unit< Dim2, System2 > &) |
runtime quantity times unit More... | |
template<class Unit1 , class System2 , class Dim2 , class Y > | |
divide_typeof_helper< quantity < Unit1, Y >, unit< Dim2, System2 > >::type | boost::units::operator/ (const quantity< Unit1, Y > &lhs, const unit< Dim2, System2 > &) |
runtime quantity divided by unit More... | |
template<class Unit , class Y > | |
unary_plus_typeof_helper < quantity< Unit, Y > >::type | boost::units::operator+ (const quantity< Unit, Y > &val) |
runtime unary plus quantity More... | |
template<class Unit , class Y > | |
unary_minus_typeof_helper < quantity< Unit, Y > >::type | boost::units::operator- (const quantity< Unit, Y > &val) |
runtime unary minus quantity More... | |
template<class Unit1 , class Unit2 , class X , class Y > | |
add_typeof_helper< quantity < Unit1, X >, quantity< Unit2, Y > >::type | boost::units::operator+ (const quantity< Unit1, X > &lhs, const quantity< Unit2, Y > &rhs) |
runtime quantity plus quantity More... | |
template<class Unit1 , class Unit2 , class X , class Y > | |
subtract_typeof_helper < quantity< Unit1, X > , quantity< Unit2, Y > >::type | boost::units::operator- (const quantity< Unit1, X > &lhs, const quantity< Unit2, Y > &rhs) |
runtime quantity minus quantity More... | |
template<class Unit1 , class Unit2 , class X , class Y > | |
multiply_typeof_helper < quantity< Unit1, X > , quantity< Unit2, Y > >::type | boost::units::operator* (const quantity< Unit1, X > &lhs, const quantity< Unit2, Y > &rhs) |
runtime quantity times quantity More... | |
template<class Unit1 , class Unit2 , class X , class Y > | |
divide_typeof_helper< quantity < Unit1, X >, quantity< Unit2, Y > >::type | boost::units::operator/ (const quantity< Unit1, X > &lhs, const quantity< Unit2, Y > &rhs) |
runtime quantity divided by quantity More... | |
template<class Unit , class X , class Y > | |
bool | boost::units::operator== (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator== More... | |
template<class Unit , class X , class Y > | |
bool | boost::units::operator!= (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator!= More... | |
template<class Unit , class X , class Y > | |
bool | boost::units::operator< (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator< More... | |
template<class Unit , class X , class Y > | |
bool | boost::units::operator<= (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator<= More... | |
template<class Unit , class X , class Y > | |
bool | boost::units::operator> (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator> More... | |
template<class Unit , class X , class Y > | |
bool | boost::units::operator>= (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator>= More... | |