123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef BOOST_UNITS_SI_MOLE_BASE_UNIT_HPP
- #define BOOST_UNITS_SI_MOLE_BASE_UNIT_HPP
- #include <string>
- #include <boost/units/config.hpp>
- #include <boost/units/base_unit.hpp>
- #include <boost/units/physical_dimensions/amount.hpp>
- namespace boost {
- namespace units {
- namespace si {
- struct mole_base_unit : public base_unit<mole_base_unit, amount_dimension, -4>
- {
- static std::string name() { return("mole"); }
- static std::string symbol() { return("mol"); }
- };
- }
- }
- }
- #if BOOST_UNITS_HAS_BOOST_TYPEOF
- #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
- BOOST_TYPEOF_REGISTER_TYPE(boost::units::si::mole_base_unit)
- #endif
- #endif
|