Warning, file /include/boost/units/is_unit_of_system.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_UNITS_IS_UNIT_OF_SYSTEM_HPP
0012 #define BOOST_UNITS_IS_UNIT_OF_SYSTEM_HPP
0013
0014
0015
0016
0017
0018
0019 #include <boost/mpl/bool.hpp>
0020 #include <boost/units/units_fwd.hpp>
0021
0022 namespace boost {
0023
0024 namespace units {
0025
0026
0027 template<class T,class System>
0028 struct is_unit_of_system :
0029 public mpl::false_
0030 { };
0031
0032 template<class Dim,class System>
0033 struct is_unit_of_system< unit<Dim,System>,System > :
0034 public mpl::true_
0035 { };
0036
0037 template<class Dim,class System>
0038 struct is_unit_of_system< absolute<unit<Dim,System> >,System > :
0039 public mpl::true_
0040 { };
0041
0042 }
0043
0044 }
0045
0046 #endif