4.4.1
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
Public Member Functions | Friends
fcppt::container::bitfield::proxy< StoredType > Class Template Reference

Detailed Description

template<typename StoredType>
class fcppt::container::bitfield::proxy< StoredType >

The proxy class referencing a single bit in a bitfield.

This class is used as a reference type for fcppt::container::bitfield::object.

Template Parameters
StoredTypeThe internal container type for the bitfield.

Public Member Functions

 proxy (proxy const &)
 
 proxy (proxy &&) noexcept
 
proxyoperator= (proxy const &)
 
proxyoperator= (proxy &&) noexcept
 
 ~proxy ()
 
proxyoperator= (fcppt::container::bitfield::value_type rhs)
 Assigns a new value to the bit.
 
 operator fcppt::container::bitfield::value_type () const
 Provides conversion into a bool.
 

Friends

template<typename , typename >
class fcppt::container::bitfield::object
 

Constructor & Destructor Documentation

◆ proxy() [1/2]

◆ proxy() [2/2]

◆ ~proxy()

Member Function Documentation

◆ operator fcppt::container::bitfield::value_type()

Provides conversion into a bool.

Converts into a boolean value. Depending on whether the bit referenced by this proxy is set or not, the value will be true or false.

◆ operator=() [1/3]

Assigns a new value to the bit.

Assign rhs to the bit referenced by this proxy.

◆ operator=() [2/3]

◆ operator=() [3/3]

Friends And Related Symbol Documentation

◆ fcppt::container::bitfield::object