fahrenheit.hpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Boost.Units - A C++ library for zero-overhead dimensional analysis and
  2. // unit/quantity manipulation and conversion
  3. //
  4. // Copyright (C) 2003-2008 Matthias Christian Schabel
  5. // Copyright (C) 2008 Steven Watanabe
  6. //
  7. // Distributed under the Boost Software License, Version 1.0. (See
  8. // accompanying file LICENSE_1_0.txt or copy at
  9. // http://www.boost.org/LICENSE_1_0.txt)
  10. #ifndef BOOST_UNITS_TEMPERATURE_FAHRENHEIT_HPP
  11. #define BOOST_UNITS_TEMPERATURE_FAHRENHEIT_HPP
  12. #include <string>
  13. #include <boost/units/absolute.hpp>
  14. #include <boost/units/make_system.hpp>
  15. #include <boost/units/static_constant.hpp>
  16. #include <boost/units/base_units/temperature/fahrenheit.hpp>
  17. namespace boost {
  18. namespace units {
  19. namespace fahrenheit {
  20. typedef make_system<boost::units::temperature::fahrenheit_base_unit>::type system;
  21. typedef unit<temperature_dimension,system> temperature;
  22. BOOST_UNITS_STATIC_CONSTANT(degree,temperature);
  23. BOOST_UNITS_STATIC_CONSTANT(degrees,temperature);
  24. } // namespace fahrenheit
  25. } // namespace units
  26. } // namespace boost
  27. #endif // BOOST_UNITS_TEMPERATURE_FAHRENHEIT_HPP