]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/units/include/boost/units/physical_dimensions/information.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / units / include / boost / units / physical_dimensions / information.hpp
1 // Boost.Units - A C++ library for zero-overhead dimensional analysis and
2 // unit/quantity manipulation and conversion
3 //
4 // Copyright (C) 2014 Erik Erlandson
5 //
6 // Distributed under the Boost Software License, Version 1.0. (See
7 // accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
9
10 #ifndef BOOST_UNITS_INFORMATION_BASE_DIMENSION_HPP
11 #define BOOST_UNITS_INFORMATION_BASE_DIMENSION_HPP
12
13 #include <boost/units/config.hpp>
14 #include <boost/units/base_dimension.hpp>
15
16 namespace boost {
17 namespace units {
18
19 /// base dimension of information
20 struct information_base_dimension :
21 boost::units::base_dimension<information_base_dimension, -700>
22 { };
23
24 } // namespace units
25 } // namespace boost
26
27 #if BOOST_UNITS_HAS_BOOST_TYPEOF
28
29 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
30
31 BOOST_TYPEOF_REGISTER_TYPE(boost::units::information_base_dimension)
32
33 #endif
34
35 namespace boost {
36 namespace units {
37
38 /// dimension of information
39 typedef information_base_dimension::dimension_type information_dimension;
40
41 } // namespace units
42 } // namespace boost
43
44 #endif