| 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_SYSTEMS_INFORMATION_NAT_HPP_INCLUDED |
| 11 | #define BOOST_UNITS_SYSTEMS_INFORMATION_NAT_HPP_INCLUDED |
| 12 | |
| 13 | #include <boost/units/systems/information/byte.hpp> |
| 14 | #include <boost/units/base_units/information/nat.hpp> |
| 15 | |
| 16 | namespace boost { |
| 17 | namespace units { |
| 18 | namespace information { |
| 19 | |
| 20 | namespace hu { |
| 21 | namespace nat { |
| 22 | typedef unit<information_dimension, make_system<nat_base_unit>::type> info; |
| 23 | } // namespace bit |
| 24 | } // namespace hu |
| 25 | |
| 26 | BOOST_UNITS_STATIC_CONSTANT(nat, hu::nat::info); |
| 27 | BOOST_UNITS_STATIC_CONSTANT(nats, hu::nat::info); |
| 28 | |
| 29 | } // namespace information |
| 30 | } // namespace units |
| 31 | } // namespace boost |
| 32 | |
| 33 | #endif // BOOST_UNITS_SYSTEMS_INFORMATION_NAT_HPP_INCLUDED |
| 34 |
