.TH "std::bitset< _Nb >::reference" 3cxx "Thu Feb 16 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::bitset< _Nb >::reference .SH SYNOPSIS .br .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBreference\fP (\fBbitset\fP &__b, size_t __pos) noexcept" .br .ti -1c .RI "\fBreference\fP (const \fBreference\fP &)=default" .br .ti -1c .RI "\fBreference\fP & \fBflip\fP () noexcept" .br .ti -1c .RI "\fBoperator bool\fP () const noexcept" .br .ti -1c .RI "\fBreference\fP & \fBoperator=\fP (bool __x) noexcept" .br .ti -1c .RI "\fBreference\fP & \fBoperator=\fP (const \fBreference\fP &__j) noexcept" .br .ti -1c .RI "bool \fBoperator~\fP () const noexcept" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "class \fBbitset\fP" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class std::bitset< _Nb >::reference"This encapsulates the concept of a single bit\&. An instance of this class is a proxy for an actual bit; this way the individual bit operations are done as faster word-size bitwise instructions\&. .PP Most users will never need to use this class directly; conversions to and from bool are automatic and should be transparent\&. Overloaded operators help to preserve the illusion\&. .PP (On a typical system, this \fIbit reference\fP is 64 times the size of an actual bit\&. Ha\&.) .PP Definition at line \fB802\fP of file \fBbitset\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fBstd::bitset\fP< _Nb >::reference::reference (\fBbitset\fP & __b, size_t __pos)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB813\fP of file \fBbitset\fP\&. .SS "template \fBstd::bitset\fP< _Nb >::reference::~reference ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB823\fP of file \fBbitset\fP\&. .SH "Member Function Documentation" .PP .SS "template \fBreference\fP & \fBstd::bitset\fP< _Nb >::reference::flip ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB859\fP of file \fBbitset\fP\&. .SS "template \fBstd::bitset\fP< _Nb >::reference::operator bool () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB854\fP of file \fBbitset\fP\&. .SS "template \fBreference\fP & \fBstd::bitset\fP< _Nb >::reference::operator= (bool __x)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB828\fP of file \fBbitset\fP\&. .SS "template \fBreference\fP & \fBstd::bitset\fP< _Nb >::reference::operator= (const \fBreference\fP & __j)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB839\fP of file \fBbitset\fP\&. .SS "template bool \fBstd::bitset\fP< _Nb >::reference::operator~ () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB850\fP of file \fBbitset\fP\&. .SH "Friends And Related Function Documentation" .PP .SS "template friend class \fBbitset\fP\fC [friend]\fP" .PP Definition at line \fB804\fP of file \fBbitset\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.