]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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_BASE_UNITS_INFORMATION_NAT_HPP_INCLUDED | |
11 | #define BOOST_UNITS_BASE_UNITS_INFORMATION_NAT_HPP_INCLUDED | |
12 | ||
13 | #include <boost/units/conversion.hpp> | |
14 | #include <boost/units/base_units/information/bit.hpp> | |
15 | ||
16 | BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(information, nat, | |
17 | "nat", "nat", | |
18 | 1.442695040888964, | |
19 | boost::units::information::bit_base_unit, | |
20 | -702); | |
21 | ||
22 | #if BOOST_UNITS_HAS_BOOST_TYPEOF | |
23 | ||
24 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | |
25 | ||
26 | BOOST_TYPEOF_REGISTER_TYPE(boost::units::information::nat_base_unit) | |
27 | ||
28 | #endif | |
29 | ||
30 | #endif // BOOST_UNITS_BASE_UNITS_INFORMATION_NAT_HPP_INCLUDED |