FE 0.13.1
Header-only C++ frontend library
Loading...
Searching...
No Matches
fe::Bitset::reference Class Reference

Proxy that Bitset::operator[] hands out to read/write the bit it refers to. More...

#include <fe/bitset.h>

Public Member Functions

constexpr reference & operator= (bool b) noexcept
constexpr reference & operator= (const reference &other) noexcept
constexpr reference & flip () noexcept
constexpr operator bool () const noexcept
constexpr bool operator~ () const noexcept

Friends

class Bitset

Detailed Description

Proxy that Bitset::operator[] hands out to read/write the bit it refers to.

Definition at line 35 of file bitset.h.

Member Function Documentation

◆ flip()

reference & fe::Bitset::reference::flip ( )
inlineconstexprnoexcept

Definition at line 42 of file bitset.h.

References flip().

Referenced by flip().

◆ operator bool()

fe::Bitset::reference::operator bool ( ) const
inlineconstexprnoexcept

Definition at line 47 of file bitset.h.

◆ operator=() [1/2]

reference & fe::Bitset::reference::operator= ( bool b)
inlineconstexprnoexcept

Definition at line 37 of file bitset.h.

◆ operator=() [2/2]

reference & fe::Bitset::reference::operator= ( const reference & other)
inlineconstexprnoexcept

Definition at line 41 of file bitset.h.

◆ operator~()

bool fe::Bitset::reference::operator~ ( ) const
inlineconstexprnoexcept

Definition at line 48 of file bitset.h.

◆ Bitset

friend class Bitset
friend

Definition at line 58 of file bitset.h.

References Bitset.

Referenced by Bitset.


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