/usr/include/boost/units/detail
NameSizeModeActions
absolute_impl.hpp30550644editdlrm
cmath_impl.hpp37570644editdlrm
conversion_impl.hpp154430644editdlrm
dimensionless_unit.hpp22210644editdlrm
dimension_impl.hpp86830644editdlrm
dimension_list.hpp26540644editdlrm
dim_impl.hpp17440644editdlrm
heterogeneous_conversion.hpp80710644editdlrm
linear_algebra.hpp326470644editdlrm
one.hpp21490644editdlrm
ordinal.hpp10170644editdlrm
prevent_redefinition.hpp13690644editdlrm
push_front_if.hpp8820644editdlrm
push_front_or_add.hpp19480644editdlrm
sort.hpp26400644editdlrm
static_rational_power.hpp49220644editdlrm
unscale.hpp54460644editdlrm
utility.hpp12640644editdlrm
Edit: /usr/include/boost/units/detail/dimension_list.hpp (2654B)
// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel // Copyright (C) 2008 Steven Watanabe // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_UNITS_DIMENSION_LIST_HPP #define BOOST_UNITS_DIMENSION_LIST_HPP #include #include #include #include #include #include #include #include namespace boost { namespace units { struct dimensionless_type; namespace detail { struct dimension_list_tag { }; } // namespace detail template struct list { typedef detail::dimension_list_tag tag; typedef list type; typedef Item item; typedef Next next; typedef typename mpl::next::type size; }; } // namespace units namespace mpl { // INTERNAL ONLY template<> struct size_impl { template struct apply : public L::size { }; }; // INTERNAL ONLY template<> struct begin_impl { template struct apply { typedef L type; }; }; // INTERNAL ONLY template<> struct end_impl { template struct apply { typedef units::dimensionless_type type; }; }; // INTERNAL ONLY template<> struct push_front_impl { template struct apply { typedef units::list type; }; }; // INTERNAL ONLY template<> struct pop_front_impl { template struct apply { typedef typename L::next type; }; }; // INTERNAL ONLY template<> struct front_impl { template struct apply { typedef typename L::item type; }; }; // INTERNAL ONLY template struct deref > { typedef Item type; }; } // namespace mpl } // namespace boost #if BOOST_UNITS_HAS_BOOST_TYPEOF #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() BOOST_TYPEOF_REGISTER_TEMPLATE(boost::units::list, 2) #endif #include #endif // BOOST_UNITS_DIMENSION_LIST_HPP