![]() |
Home | Libraries | People | FAQ | More |
boost::units::unit — class representing a model-dependent unit with no associated value
template<typename Dim, typename System, typename Enable> class unit { public: // types typedef unit< Dim, System > unit_type; typedef unit< Dim, System > this_type; typedef Dim dimension_type; typedef System system_type; // construct/copy/destruct unit(); unit(const this_type &); unit& operator=(const this_type &); // private member functions BOOST_MPL_ASSERT(unspecified) ; BOOST_MPL_ASSERT((is_dimension_list< Dim >)) ; };
(e.g. meters, Kelvin, feet, etc...)
unit
private member functionsBOOST_MPL_ASSERT(unspecified) ;
BOOST_MPL_ASSERT((is_dimension_list< Dim >)) ;