]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/units/systems/si/pressure.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / units / systems / si / pressure.hpp
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_SI_PRESSURE_HPP
12 #define BOOST_UNITS_SI_PRESSURE_HPP
13
14 #include <boost/units/systems/si/base.hpp>
15 #include <boost/units/physical_dimensions/pressure.hpp>
16
17 namespace boost {
18
19 namespace units {
20
21 namespace si {
22
23 typedef unit<pressure_dimension,si::system> pressure;
24
25 // windef.h #defines pascal on Metrowerks compilers
26 #if defined(__MWERKS__)
27 #if !__option(only_std_keywords)
28 #define BOOST_UNITS_NO_PASCAL 1
29 #elif defined(pascal)
30 #define BOOST_UNITS_NO_PASCAL 1
31 #endif
32 #elif defined(pascal)
33 #define BOOST_UNITS_NO_PASCAL 1
34 #elif BOOST_MSVC
35 #define BOOST_UNITS_NO_PASCAL 1
36 #endif
37
38 #ifndef BOOST_UNITS_NO_PASCAL
39 BOOST_UNITS_STATIC_CONSTANT(pascal,pressure);
40 #endif
41 BOOST_UNITS_STATIC_CONSTANT(pascals,pressure);
42
43 } // namespace si
44
45 } // namespace units
46
47 } // namespace boost
48
49 #endif // BOOST_UNITS_SI_PRESSURE_HPP