Pixie
Loading...
Searching...
No Matches
pixie::permutations::detail::ElementStorageTraits< T, Requested > Struct Template Reference

Public Types

using const_reference = std::conditional_t<packed, T, const T&>
 

Static Public Attributes

static constexpr bool packable
 
static constexpr ElementStorage storage
 
static constexpr bool packed = storage == ElementStorage::packed
 

Member Data Documentation

◆ packable

template<class T, ElementStorage Requested>
bool pixie::permutations::detail::ElementStorageTraits< T, Requested >::packable
staticconstexpr
Initial value:
= std::is_integral_v<T> &&
std::is_unsigned_v<T> &&
std::numeric_limits<T>::digits <= 64

◆ storage

template<class T, ElementStorage Requested>
ElementStorage pixie::permutations::detail::ElementStorageTraits< T, Requested >::storage
staticconstexpr
Initial value:
=
Requested == ElementStorage::automatic
? (packable ? ElementStorage::packed : ElementStorage::indirect)
: Requested

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