File indexing completed on 2025-01-30 10:01:46
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_UNITS_SYSTEMS_INFORMATION_BYTE_HPP_INCLUDED
0011 #define BOOST_UNITS_SYSTEMS_INFORMATION_BYTE_HPP_INCLUDED
0012
0013 #include <boost/units/make_system.hpp>
0014 #include <boost/units/unit.hpp>
0015 #include <boost/units/static_constant.hpp>
0016
0017 #include <boost/units/base_units/information/byte.hpp>
0018
0019 namespace boost {
0020 namespace units {
0021 namespace information {
0022
0023 typedef make_system<byte_base_unit>::type system;
0024
0025 typedef unit<dimensionless_type, system> dimensionless;
0026
0027 namespace hu {
0028 namespace byte {
0029 typedef unit<information_dimension, system> info;
0030 }
0031 }
0032
0033 BOOST_UNITS_STATIC_CONSTANT(byte, hu::byte::info);
0034 BOOST_UNITS_STATIC_CONSTANT(bytes, hu::byte::info);
0035
0036
0037
0038
0039 typedef hu::byte::info info;
0040
0041 }
0042 }
0043 }
0044
0045 #endif