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_INFORMATION_BASE_DIMENSION_HPP
11 #define BOOST_UNITS_INFORMATION_BASE_DIMENSION_HPP
13 #include <boost/units/config.hpp>
14 #include <boost/units/base_dimension.hpp>
19 /// base dimension of information
20 struct information_base_dimension :
21 boost::units::base_dimension<information_base_dimension, -700>
27 #if BOOST_UNITS_HAS_BOOST_TYPEOF
29 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
31 BOOST_TYPEOF_REGISTER_TYPE(boost::units::information_base_dimension)
38 /// dimension of information
39 typedef information_base_dimension::dimension_type information_dimension;