123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef BOOST_UNITS_SYSTEMS_INFORMATION_BYTE_HPP_INCLUDED
- #define BOOST_UNITS_SYSTEMS_INFORMATION_BYTE_HPP_INCLUDED
- #include <boost/units/make_system.hpp>
- #include <boost/units/unit.hpp>
- #include <boost/units/static_constant.hpp>
- #include <boost/units/base_units/information/byte.hpp>
- namespace boost {
- namespace units {
- namespace information {
- typedef make_system<byte_base_unit>::type system;
- typedef unit<dimensionless_type, system> dimensionless;
- namespace hu {
- namespace byte {
- typedef unit<information_dimension, system> info;
- }
- }
- BOOST_UNITS_STATIC_CONSTANT(byte, hu::byte::info);
- BOOST_UNITS_STATIC_CONSTANT(bytes, hu::byte::info);
- typedef hu::byte::info info;
- }
- }
- }
- #endif
|