libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::LIBJMMCG_VER_NAMESPACE::private_::index< bit_pos, Iter, End, AtEnd > Struct Template Reference

#include <bitfield_map_impl.hpp>

Static Public Member Functions

template<class BMsk >
static constexpr std::size_t FORCE_INLINE result (BMsk mask) noexcept(true)
 Compute the number of bytes offset that the bit_pos represents given a bitmask mask that maps to the range of types contained in the range [Iter, End). More...
 

Detailed Description

template<underlying_type bit_pos, class Iter, class End, bool AtEnd = std::is_same<Iter, End>::value>
struct jmmcg::LIBJMMCG_VER_NAMESPACE::private_::index< bit_pos, Iter, End, AtEnd >

Definition at line 26 of file bitfield_map_impl.hpp.

Member Function Documentation

◆ result()

template<underlying_type bit_pos, class Iter , class End , bool AtEnd = std::is_same<Iter, End>::value>
template<class BMsk >
static constexpr std::size_t FORCE_INLINE jmmcg::LIBJMMCG_VER_NAMESPACE::private_::index< bit_pos, Iter, End, AtEnd >::result ( BMsk  mask)
inlinestaticconstexprnoexcept

Compute the number of bytes offset that the bit_pos represents given a bitmask mask that maps to the range of types contained in the range [Iter, End).

Parameters
maskThe bitmaps that maps to the range of enabled types contained in the range [Iter, End).
Returns
The number of bytes offest.

Definition at line 34 of file bitfield_map_impl.hpp.


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