File indexing completed on 2025-01-18 09:53:13
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_UNITS_SYSTEMS_US_YARD_BASE_UNIT_HPP
0012 #define BOOST_UNITS_SYSTEMS_US_YARD_BASE_UNIT_HPP
0013
0014 #include <string>
0015
0016 #include <boost/units/config.hpp>
0017 #include <boost/units/base_unit.hpp>
0018 #include <boost/units/physical_dimensions/length.hpp>
0019 #include <boost/units/base_units/si/meter.hpp>
0020 #include <boost/units/conversion.hpp>
0021
0022 BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(us, yard, "yard", "yd", 0.9144, si::meter_base_unit, -501);
0023
0024 #if BOOST_UNITS_HAS_BOOST_TYPEOF
0025
0026 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
0027
0028 BOOST_TYPEOF_REGISTER_TYPE(boost::units::us::yard_base_unit)
0029
0030 #endif
0031
0032 #endif