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