Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function BOOST_TYPEOF_REGISTER_TEMPLATE

BOOST_TYPEOF_REGISTER_TEMPLATE

Synopsis

// In header: <boost/units/quantity.hpp>


 BOOST_TYPEOF_REGISTER_TEMPLATE(boost::units::quantity, 2);

Description

helper class for quantity_cast

specialization for casting to the value type

specialization for casting to the value type

quantity_cast provides mutating access to underlying quantity value_type

swap quantities

specialize unary plus typeof helper INTERNAL ONLY

specialize unary minus typeof helper INTERNAL ONLY

specialize add typeof helper INTERNAL ONLY

for sun CC we need to invoke SFINAE at the top level, otherwise it will silently return int.

specialize subtract typeof helper INTERNAL ONLY

scalar times unit typeof helper INTERNAL ONLY

unit times scalar typeof helper INTERNAL ONLY

scalar times quantity typeof helper INTERNAL ONLY

disambiguate INTERNAL ONLY

quantity times scalar typeof helper INTERNAL ONLY

disambiguate INTERNAL ONLY

unit times quantity typeof helper INTERNAL ONLY

quantity times unit typeof helper INTERNAL ONLY

quantity times quantity typeof helper INTERNAL ONLY

scalar divided by unit typeof helper INTERNAL ONLY

unit divided by scalar typeof helper INTERNAL ONLY

scalar divided by quantity typeof helper INTERNAL ONLY

disambiguate INTERNAL ONLY

quantity divided by scalar typeof helper INTERNAL ONLY

disambiguate INTERNAL ONLY

unit divided by quantity typeof helper INTERNAL ONLY

quantity divided by unit typeof helper INTERNAL ONLY

quantity divided by quantity typeof helper INTERNAL ONLY

specialize power typeof helper INTERNAL ONLY

specialize root typeof helper INTERNAL ONLY

runtime unit times scalar INTERNAL ONLY

runtime unit divided by scalar

runtime scalar times unit

runtime scalar divided by unit

runtime quantity times scalar

runtime scalar times quantity

runtime quantity divided by scalar

runtime scalar divided by quantity

runtime unit times quantity

runtime unit divided by quantity

runtime quantity times unit

runtime quantity divided by unit

runtime unary plus quantity

runtime unary minus quantity

runtime quantity plus quantity

runtime quantity minus quantity

runtime quantity times quantity

runtime quantity divided by quantity

runtime operator==

runtime operator!=

runtime operator<

runtime operator<=

runtime operator>

runtime operator>=


PrevUpHomeNext