11 #ifndef BOOST_UNITS_SI_PREFIXES_HPP
12 #define BOOST_UNITS_SI_PREFIXES_HPP
14 #include <boost/units/static_constant.hpp>
16 #include <boost/units/make_scaled_unit.hpp>
17 #include <boost/units/systems/si/dimensionless.hpp>
25 #define BOOST_UNITS_METRIC_PREFIX(exponent, name) \
26 typedef make_scaled_unit<dimensionless, scale<10, static_rational<exponent> > >::type name ## _type;\
27 BOOST_UNITS_STATIC_CONSTANT(name, name ## _type)
BOOST_UNITS_METRIC_PREFIX(-24, yocto)