sandbox
Loading...
Searching...
No Matches
sbx::utility::bit_field< Enum, Underlying > Class Template Reference

Public Types

using value_type = Enum
 
using underlying_type = Underlying
 

Public Member Functions

constexpr bit_field (const value_type value) noexcept
 
constexpr bit_field (const underlying_type value) noexcept
 
constexpr auto set (const value_type value) noexcept -> void
 
constexpr auto clear (const value_type value) noexcept -> void
 
constexpr auto has (const value_type value) const noexcept -> bool
 
constexpr auto has_any () const noexcept -> bool
 
constexpr auto has_none () const noexcept -> bool
 
constexpr auto operator* () const noexcept -> value_type
 
constexpr auto value () const -> value_type
 
constexpr auto underlying () const -> underlying_type
 

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