File indexing completed on 2025-01-18 09:53:13
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_UNITS_TEMPERATURE_FAHRENHEIT_BASE_UNIT_HPP
0012 #define BOOST_UNITS_TEMPERATURE_FAHRENHEIT_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/temperature.hpp>
0019
0020 namespace boost {
0021
0022 namespace units {
0023
0024 namespace temperature {
0025
0026 struct fahrenheit_base_unit : public base_unit<fahrenheit_base_unit, temperature_dimension, -1007>
0027 {
0028 static std::string name() { return("fahrenheit"); }
0029 static std::string symbol() { return("F"); }
0030 };
0031
0032 }
0033
0034 }
0035
0036 }
0037
0038 #if BOOST_UNITS_HAS_BOOST_TYPEOF
0039
0040 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
0041
0042 BOOST_TYPEOF_REGISTER_TYPE(boost::units::temperature::fahrenheit_base_unit)
0043
0044 #endif
0045
0046 #include <boost/units/base_units/temperature/conversions.hpp>
0047
0048 #endif