• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
11 #ifndef BOOST_UNITS_TEMPERATURE_CELSIUS_HPP
12 #define BOOST_UNITS_TEMPERATURE_CELSIUS_HPP
13 
14 #include <string>
15 
16 #include <boost/units/absolute.hpp>
17 #include <boost/units/static_constant.hpp>
18 #include <boost/units/make_system.hpp>
19 #include <boost/units/base_units/temperature/celsius.hpp>
20 
21 namespace boost {
22 
23 namespace units {
24 
25 namespace celsius {
26 
27 typedef make_system<boost::units::temperature::celsius_base_unit>::type system;
28 
29 typedef unit<temperature_dimension,system>   temperature;
30 
31 BOOST_UNITS_STATIC_CONSTANT(degree,temperature);
32 BOOST_UNITS_STATIC_CONSTANT(degrees,temperature);
33 
34 } // namespace celsius
35 
36 } // namespace units
37 
38 } // namespace boost
39 
40 #endif // BOOST_UNITS_TEMPERATURE_CELSIUS_HPP
41