12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #ifndef BOOST_UNITS_IS_UNIT_OF_SYSTEM_HPP
- #define BOOST_UNITS_IS_UNIT_OF_SYSTEM_HPP
- #include <boost/mpl/bool.hpp>
- #include <boost/units/units_fwd.hpp>
- namespace boost {
- namespace units {
- template<class T,class System>
- struct is_unit_of_system :
- public mpl::false_
- { };
-
- template<class Dim,class System>
- struct is_unit_of_system< unit<Dim,System>,System > :
- public mpl::true_
- { };
-
- template<class Dim,class System>
- struct is_unit_of_system< absolute<unit<Dim,System> >,System > :
- public mpl::true_
- { };
- }
- }
- #endif
|