Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/units/systems/angle/gradians.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
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_ANGLE_GRADIANS_HPP | |
12 #define BOOST_UNITS_ANGLE_GRADIANS_HPP | |
13 | |
14 #include <boost/config/no_tr1/cmath.hpp> | |
15 | |
16 #include <boost/units/conversion.hpp> | |
17 #include <boost/units/quantity.hpp> | |
18 #include <boost/units/static_constant.hpp> | |
19 #include <boost/units/make_system.hpp> | |
20 #include <boost/units/base_units/angle/gradian.hpp> | |
21 | |
22 namespace boost { | |
23 | |
24 namespace units { | |
25 | |
26 namespace gradian { | |
27 | |
28 typedef make_system<boost::units::angle::gradian_base_unit>::type system; | |
29 | |
30 typedef unit<dimensionless_type,system> dimensionless; | |
31 typedef unit<plane_angle_dimension,system> plane_angle; ///< angle gradian unit constant | |
32 | |
33 BOOST_UNITS_STATIC_CONSTANT(gradian,plane_angle); | |
34 BOOST_UNITS_STATIC_CONSTANT(gradians,plane_angle); | |
35 | |
36 } // namespace gradian | |
37 | |
38 } // namespace units | |
39 | |
40 } // namespace boost | |
41 | |
42 #endif // BOOST_UNITS_ANGLE_GRADIANS_HPP |