123456789101112131415161718192021222324252627282930313233 |
- #ifndef BOOST_UNITS_SYSTEMS_INFORMATION_SHANNON_HPP_INCLUDED
- #define BOOST_UNITS_SYSTEMS_INFORMATION_SHANNON_HPP_INCLUDED
- #include <boost/units/systems/information/byte.hpp>
- #include <boost/units/base_units/information/shannon.hpp>
- namespace boost {
- namespace units {
- namespace information {
- namespace hu {
- namespace shannon {
- typedef unit<information_dimension, make_system<shannon_base_unit>::type> info;
- }
- }
- BOOST_UNITS_STATIC_CONSTANT(shannon, hu::shannon::info);
- BOOST_UNITS_STATIC_CONSTANT(shannons, hu::shannon::info);
- }
- }
- }
- #endif
|