Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:01:46

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_SYSTEMS_INFORMATION_SHANNON_HPP_INCLUDED
0011 #define BOOST_UNITS_SYSTEMS_INFORMATION_SHANNON_HPP_INCLUDED
0012 
0013 #include <boost/units/systems/information/byte.hpp>
0014 #include <boost/units/base_units/information/shannon.hpp>
0015 
0016 namespace boost {
0017 namespace units { 
0018 namespace information {
0019 
0020 namespace hu {
0021 namespace shannon {
0022 typedef unit<information_dimension, make_system<shannon_base_unit>::type> info;
0023 } // namespace bit
0024 } // namespace hu
0025 
0026 BOOST_UNITS_STATIC_CONSTANT(shannon, hu::shannon::info);
0027 BOOST_UNITS_STATIC_CONSTANT(shannons, hu::shannon::info);
0028 
0029 } // namespace information
0030 } // namespace units
0031 } // namespace boost
0032 
0033 #endif // BOOST_UNITS_SYSTEMS_INFORMATION_SHANNON_HPP_INCLUDED