File indexing completed on 2025-01-18 09:53:14
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_UNITS_DETAIL_PUSH_FRONT_IF_HPP
0012 #define BOOST_UNITS_DETAIL_PUSH_FRONT_IF_HPP
0013
0014 namespace boost {
0015
0016 namespace units {
0017
0018 template<class T, class Next>
0019 struct list;
0020
0021 namespace detail {
0022
0023 template<bool>
0024 struct push_front_if;
0025
0026 template<>
0027 struct push_front_if<true> {
0028 template<class L, class T>
0029 struct apply {
0030 typedef list<T, L> type;
0031 };
0032 };
0033
0034 template<>
0035 struct push_front_if<false> {
0036 template<class L, class T>
0037 struct apply {
0038 typedef L type;
0039 };
0040 };
0041
0042 }
0043
0044 }
0045
0046 }
0047
0048 #endif