1 // Boost.Units - A C++ library for zero-overhead dimensional analysis and
2 // unit/quantity manipulation and conversion
4 // Copyright (C) 2003-2008 Matthias Christian Schabel
5 // Copyright (C) 2008 Steven Watanabe
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)
11 #ifndef BOOST_UNITS_TEMPERATURE_CELSIUS_HPP
12 #define BOOST_UNITS_TEMPERATURE_CELSIUS_HPP
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>
27 typedef make_system<boost::units::temperature::celsius_base_unit>::type system;
29 typedef unit<temperature_dimension,system> temperature;
31 BOOST_UNITS_STATIC_CONSTANT(degree,temperature);
32 BOOST_UNITS_STATIC_CONSTANT(degrees,temperature);
34 } // namespace celsius
40 #endif // BOOST_UNITS_TEMPERATURE_CELSIUS_HPP