Warning, file /include/boost/units/is_dimension_list.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_DIMENSION_LIST_HPP
0012 #define BOOST_UNITS_IS_DIMENSION_LIST_HPP
0013
0014
0015
0016
0017
0018
0019 #include <boost/mpl/bool.hpp>
0020
0021 #include <boost/units/units_fwd.hpp>
0022
0023 namespace boost {
0024
0025 namespace units {
0026
0027
0028 template<typename Seq>
0029 struct is_dimension_list :
0030 public mpl::false_
0031 { };
0032
0033 template<typename Item, typename Next>
0034 struct is_dimension_list<list<Item, Next> > :
0035 public mpl::true_
0036 { };
0037
0038 template<>
0039 struct is_dimension_list<dimensionless_type> :
0040 public mpl::true_
0041 { };
0042
0043 }
0044
0045 }
0046
0047 #endif