pstore2
Public Types | Public Member Functions | List of all members
pstore::bit_field< ValueType, Index, Bits > Class Template Reference
Inheritance diagram for pstore::bit_field< ValueType, Index, Bits >:
Inheritance graph
[legend]
Collaboration diagram for pstore::bit_field< ValueType, Index, Bits >:
Collaboration graph
[legend]

Public Types

using assign_type = ValueType
 The canonical type that can be assigned to a bit-field instance.
 

Public Member Functions

constexpr operator value_type () const noexcept
 obtains the value held in the bit-field.
 
template<typename T >
bit_fieldoperator= (T v) noexcept
 assigns a value to the bit-field
 
template<typename T >
bit_fieldoperator+= (T other) noexcept
 
template<typename T >
bit_fieldoperator-= (T other) noexcept
 
bit_fieldoperator++ () noexcept
 
bit_field operator++ (int) noexcept
 
bit_fieldoperator-- () noexcept
 
bit_field operator-- (int) noexcept
 

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