Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::bitpack< T >::bitsliceref< BITFIELD > Class Template Reference

#include <utils.h>

Public Member Functions

 bitsliceref (T &_target)
 operator T () const
bitsliceref< BITFIELD > & operator= (T field)
bitsliceref< BITFIELD > & operator|= (T field)

Static Public Attributes

static const T MAXVAL = ~(~T(0) << BITFIELD::BITS)

Protected Attributes

T & target

Constructor & Destructor Documentation

◆ bitsliceref()

template<typename T>
template<typename BITFIELD>
Realm::bitpack< T >::bitsliceref< BITFIELD >::bitsliceref ( T & _target)

Member Function Documentation

◆ operator T()

template<typename T>
template<typename BITFIELD>
Realm::bitpack< T >::bitsliceref< BITFIELD >::operator T ( ) const

◆ operator=()

template<typename T>
template<typename BITFIELD>
bitsliceref< BITFIELD > & Realm::bitpack< T >::bitsliceref< BITFIELD >::operator= ( T field)

◆ operator|=()

template<typename T>
template<typename BITFIELD>
bitsliceref< BITFIELD > & Realm::bitpack< T >::bitsliceref< BITFIELD >::operator|= ( T field)

Member Data Documentation

◆ MAXVAL

template<typename T>
template<typename BITFIELD>
const T Realm::bitpack< T >::bitsliceref< BITFIELD >::MAXVAL = ~(~T(0) << BITFIELD::BITS)
static

◆ target

template<typename T>
template<typename BITFIELD>
T& Realm::bitpack< T >::bitsliceref< BITFIELD >::target
protected

The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/utils.h