[#bsl-bitset-reference] = xref:bsl.adoc[bsl]::xref:bsl/bitset.adoc[bitset]::reference :relfileprefix: ../../ :mrdocs: This class represents a reference to a modifiable bit inside a `bsl::bitset`. == Synopsis Declared in `<bslstl_bitset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class reference; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/bitset/reference/2constructor.adoc[`reference`] [.small]#[constructor]# | Create a `reference` object having the same value as the specified `original` object. Note that this copy constructor is generated by the compiler. | xref:bsl/bitset/reference/operator_assign-0b.adoc[`operator=`] | Assignment operators | xref:bsl/bitset/reference/flip.adoc[`flip`] | Invert the value of the bit referenced by this object and return a reference offering modifiable access to this object. | xref:bsl/bitset/reference/operator_bitnot.adoc[`operator~`] | Return the inverted value of the bit referenced by this object. Note that the value of the referenced bit remains unchanged. | xref:bsl/bitset/reference/2conversion.adoc[`operator bool`] | Return the value of the bit referenced by this object. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:bsl/bitset.adoc[bsl::bitset]` | This class template provides an STL‐compliant `bitset`. For the requirements of a `bitset` class, consult the second revision of the ISO/IEC 14882 Programming Language c++ (2011). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#