Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
magic_enum::containers::bitset< E, Index >::reference_impl< parent_t > Class Template Reference

Public Member Functions

constexpr reference_implflip () noexcept
 
constexpr operator bool () const noexcept
 
constexpr reference_imploperator= (bool v) noexcept
 
constexpr reference_imploperator= (const reference_impl &v) noexcept
 
constexpr bool operator~ () const noexcept
 

Private Member Functions

constexpr reference_impl (parent_t p, std::pair< std::size_t, base_type > i) noexcept
 
constexpr reference_impl (parent_t p, std::size_t i) noexcept
 

Private Attributes

base_type bit_index
 
std::size_t num_index
 
parent_t parent
 

Friends

class bitset
 

Detailed Description

template<typename E, typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
class magic_enum::containers::bitset< E, Index >::reference_impl< parent_t >

Definition at line 501 of file magic_enum_containers.hpp.

Constructor & Destructor Documentation

◆ reference_impl() [1/2]

template<typename E , typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
constexpr magic_enum::containers::bitset< E, Index >::reference_impl< parent_t >::reference_impl ( parent_t  p,
std::size_t  i 
)
inlineconstexprprivatenoexcept

Definition at line 508 of file magic_enum_containers.hpp.

◆ reference_impl() [2/2]

template<typename E , typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
constexpr magic_enum::containers::bitset< E, Index >::reference_impl< parent_t >::reference_impl ( parent_t  p,
std::pair< std::size_t, base_type i 
)
inlineconstexprprivatenoexcept

Definition at line 510 of file magic_enum_containers.hpp.

Member Function Documentation

◆ flip()

template<typename E , typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
constexpr reference_impl& magic_enum::containers::bitset< E, Index >::reference_impl< parent_t >::flip ( )
inlineconstexprnoexcept

Definition at line 534 of file magic_enum_containers.hpp.

◆ operator bool()

template<typename E , typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
constexpr magic_enum::containers::bitset< E, Index >::reference_impl< parent_t >::operator bool ( ) const
inlineconstexprnoexcept

Definition at line 530 of file magic_enum_containers.hpp.

◆ operator=() [1/2]

template<typename E , typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
constexpr reference_impl& magic_enum::containers::bitset< E, Index >::reference_impl< parent_t >::operator= ( bool  v)
inlineconstexprnoexcept

Definition at line 513 of file magic_enum_containers.hpp.

◆ operator=() [2/2]

template<typename E , typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
constexpr reference_impl& magic_enum::containers::bitset< E, Index >::reference_impl< parent_t >::operator= ( const reference_impl< parent_t > &  v)
inlineconstexprnoexcept

Definition at line 522 of file magic_enum_containers.hpp.

◆ operator~()

template<typename E , typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
constexpr bool magic_enum::containers::bitset< E, Index >::reference_impl< parent_t >::operator~ ( ) const
inlineconstexprnoexcept

Definition at line 532 of file magic_enum_containers.hpp.

Friends And Related Function Documentation

◆ bitset

template<typename E , typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
friend class bitset
friend

Definition at line 502 of file magic_enum_containers.hpp.

Member Data Documentation

◆ bit_index

template<typename E , typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
base_type magic_enum::containers::bitset< E, Index >::reference_impl< parent_t >::bit_index
private

Definition at line 506 of file magic_enum_containers.hpp.

◆ num_index

template<typename E , typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
std::size_t magic_enum::containers::bitset< E, Index >::reference_impl< parent_t >::num_index
private

Definition at line 505 of file magic_enum_containers.hpp.

◆ parent

template<typename E , typename Index = default_indexing<E>>
template<typename parent_t = bitset*>
parent_t magic_enum::containers::bitset< E, Index >::reference_impl< parent_t >::parent
private

Definition at line 504 of file magic_enum_containers.hpp.


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


magic_enum
Author(s):
autogenerated on Fri Feb 21 2025 03:20:19