Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::detail::high_uint_t< Bits > Struct Template Reference

#include <crc.hpp>

Inheritance diagram for boost::detail::high_uint_t< Bits >:
Collaboration diagram for boost::detail::high_uint_t< Bits >:

Public Types

typedef boost::uint_t< Bits > base_type
 
typedef base_type::least least
 
typedef base_type::fast fast
 

Public Member Functions

 BOOST_STATIC_CONSTANT (least, high_bit=(least(1u)<< (Bits-1u)))
 
 BOOST_STATIC_CONSTANT (fast, high_bit_fast=(fast(1u)<< (Bits-1u)))
 
 BOOST_STATIC_ASSERT_MSG (Bits<=(int)(sizeof(boost::uintmax_t)*CHAR_BIT),"No suitable unsigned integer type with the requested number of bits is available.")
 

Member Typedef Documentation

template<std::size_t Bits>
typedef boost::uint_t<Bits> boost::detail::high_uint_t< Bits >::base_type
template<std::size_t Bits>
typedef base_type::fast boost::detail::high_uint_t< Bits >::fast
template<std::size_t Bits>
typedef base_type::least boost::detail::high_uint_t< Bits >::least

Member Function Documentation

template<int Bits>
boost::uint_t< Bits >::BOOST_STATIC_ASSERT_MSG ( Bits<=  int)(sizeof(boost::uintmax_t)*CHAR_BIT,
"No suitable unsigned integer type with the requested number of bits is available."   
)
inherited
template<std::size_t Bits>
boost::detail::high_uint_t< Bits >::BOOST_STATIC_CONSTANT ( least  ,
high_bit  = (least(1u)<< (Bits-1u)) 
)
template<std::size_t Bits>
boost::detail::high_uint_t< Bits >::BOOST_STATIC_CONSTANT ( fast  ,
high_bit_fast  = (fast(1u)<< (Bits-1u)) 
)

The documentation for this struct was generated from the following file: