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

#include <crc.hpp>

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

Public Types

typedef high_uint_t< Bits > base_type
 
typedef base_type::least least
 
typedef base_type::fast fast
 

Public Member Functions

 BOOST_STATIC_CONSTANT (least, sig_bits=(~(~(least(0u))<< Bits)))
 
 BOOST_STATIC_CONSTANT (fast, sig_bits_fast=fast(sig_bits))
 
 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 high_uint_t<Bits> boost::detail::mask_uint_t< Bits >::base_type
template<std::size_t Bits>
typedef base_type::fast boost::detail::mask_uint_t< Bits >::fast
template<std::size_t Bits>
typedef base_type::least boost::detail::mask_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)) 
)
inherited
template<std::size_t Bits>
boost::detail::high_uint_t< Bits >::BOOST_STATIC_CONSTANT ( fast  ,
high_bit_fast  = (fast(1u)<< (Bits-1u)) 
)
inherited
template<std::size_t Bits>
boost::detail::mask_uint_t< Bits >::BOOST_STATIC_CONSTANT ( least  ,
sig_bits  = (~(~(least(0u))<< Bits)) 
)
template<std::size_t Bits>
boost::detail::mask_uint_t< Bits >::BOOST_STATIC_CONSTANT ( fast  ,
sig_bits_fast  = fast(sig_bits) 
)

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