Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:14

0001 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 
0002 // unit/quantity manipulation and conversion
0003 //
0004 // Copyright (C) 2014 Erik Erlandson
0005 //
0006 // Distributed under the Boost Software License, Version 1.0. (See
0007 // accompanying file LICENSE_1_0.txt or copy at
0008 // http://www.boost.org/LICENSE_1_0.txt)
0009 
0010 #ifndef BOOST_UNITS_INFORMATION_BASE_DIMENSION_HPP
0011 #define BOOST_UNITS_INFORMATION_BASE_DIMENSION_HPP
0012 
0013 #include <boost/units/config.hpp>
0014 #include <boost/units/base_dimension.hpp>
0015 
0016 namespace boost {
0017 namespace units { 
0018 
0019 /// base dimension of information
0020 struct information_base_dimension : 
0021     boost::units::base_dimension<information_base_dimension, -700>
0022 { };
0023 
0024 } // namespace units
0025 } // namespace boost
0026 
0027 #if BOOST_UNITS_HAS_BOOST_TYPEOF
0028 
0029 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
0030 
0031 BOOST_TYPEOF_REGISTER_TYPE(boost::units::information_base_dimension)
0032 
0033 #endif
0034 
0035 namespace boost {
0036 namespace units {
0037 
0038 /// dimension of information
0039 typedef information_base_dimension::dimension_type information_dimension;
0040 
0041 } // namespace units
0042 } // namespace boost
0043 
0044 #endif