1 // Boost.Units - A C++ library for zero-overhead dimensional analysis and
2 // unit/quantity manipulation and conversion
4 // Copyright (C) 2014 Erik Erlandson
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)
10 #ifndef BOOST_UNITS_SYSTEMS_INFORMATION_BIT_HPP_INCLUDED
11 #define BOOST_UNITS_SYSTEMS_INFORMATION_BIT_HPP_INCLUDED
13 #include <boost/units/systems/information/byte.hpp>
14 #include <boost/units/base_units/information/bit.hpp>
18 namespace information {
22 typedef unit<information_dimension, make_system<bit_base_unit>::type> info;
26 BOOST_UNITS_STATIC_CONSTANT(bit, hu::bit::info);
27 BOOST_UNITS_STATIC_CONSTANT(bits, hu::bit::info);
29 } // namespace information
33 #endif // BOOST_UNITS_SYSTEMS_INFORMATION_BIT_HPP_INCLUDED