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

#include <bitfield_map_impl.hpp>

Static Public Member Functions

static constexpr std::size_t FORCE_INLINE result (underlying_type mask) noexcept(true)
 Compute the total number of bytes that the bitmask mask that maps to the range of types contained in the range [Iter, End). More...
 

Detailed Description

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

Definition at line 91 of file bitfield_map_impl.hpp.

Member Function Documentation

◆ result()

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

Compute the total number of bytes that the bitmask mask that maps to the range of types contained in the range [Iter, End).

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

Definition at line 98 of file bitfield_map_impl.hpp.


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