FE 0.15.0
A C++23 toolkit for writing compiler/interpreter frontends.
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 34 of file bitset.h.

Member Function Documentation

◆ flip()

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

Definition at line 41 of file bitset.h.

References flip().

Referenced by flip().

◆ operator bool()

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

Definition at line 46 of file bitset.h.

◆ operator=() [1/2]

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

Definition at line 36 of file bitset.h.

◆ operator=() [2/2]

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

Definition at line 40 of file bitset.h.

◆ operator~()

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

Definition at line 47 of file bitset.h.

◆ Bitset

friend class Bitset
friend

Definition at line 57 of file bitset.h.

References Bitset.

Referenced by Bitset.


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