|
Maipa's Standard Library Extension 1.5.6
mstd
|
#include <flags.hpp>
Public Types | |
| using | bits_type = BitsEnum |
| using | value_type = std::underlying_type_t<BitsEnum> |
Public Member Functions | |
| _MSTD_CONSTEXPR17 | flags () noexcept=default |
| _MSTD_CONSTEXPR17 | flags (const flags &other) noexcept=default |
| _MSTD_CONSTEXPR17 | flags (flags &&other) noexcept=default |
| _MSTD_CONSTEXPR17 | flags (const bits_type bit) noexcept |
| _MSTD_CONSTEXPR17 | flags (const value_type flags) noexcept |
| _MSTD_CONSTEXPR20 | ~flags () noexcept=default |
| _MSTD_CONSTEXPR17 flags & | operator= (const flags &other) noexcept=default |
| _MSTD_CONSTEXPR17 flags & | operator= (flags &&other) noexcept=default |
| _MSTD_CONSTEXPR17 bool | contains (const flags other) const noexcept |
| _MSTD_CONSTEXPR17 value_type | value () const noexcept |
| _MSTD_CONSTEXPR17 | operator value_type () const noexcept |
| _MSTD_CONSTEXPR17 flags | operator| (const flags other) const noexcept |
| _MSTD_CONSTEXPR17 flags | operator& (const flags other) const noexcept |
| _MSTD_CONSTEXPR17 flags | operator^ (const flags other) const noexcept |
| _MSTD_CONSTEXPR17 flags & | operator|= (const flags other) noexcept |
| _MSTD_CONSTEXPR17 flags & | operator&= (const flags other) noexcept |
| _MSTD_CONSTEXPR17 flags & | operator^= (const flags other) noexcept |
| _MSTD_CONSTEXPR17 bool | operator== (const flags other) const noexcept |
| _MSTD_CONSTEXPR17 bool | operator!= (const flags other) const noexcept |
| _MSTD_CONSTEXPR17 flags | operator~ () const noexcept |
| _MSTD_CONSTEXPR17 bool | operator! () const noexcept |
| _MSTD_CONSTEXPR17 | operator bool () const noexcept |
Private Attributes | |
| value_type | _flags = 0 |
| using mstd::flags< BitsEnum >::bits_type = BitsEnum |
| using mstd::flags< BitsEnum >::value_type = std::underlying_type_t<BitsEnum> |
|
defaultnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
defaultnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlineexplicitnodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenoexcept |
|
inlinenodiscardnoexcept |
|
inlinenoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
private |