[#bitset_detail-IntBitSet-Set-0a] = xref:bitset_detail.adoc[bitset_detail]::xref:bitset_detail/IntBitSet.adoc[IntBitSet]::Set :relfileprefix: ../../ :mrdocs: `Set` overloads == Synopses Declared in `<util/bitset.h>` Set a bit to 1. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr void xref:bitset_detail/IntBitSet/Set-02.adoc[Set](unsigned int pos) noexcept; ---- [.small]#xref:bitset_detail/IntBitSet/Set-02.adoc[_» more..._]# Set a bit to the specified value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr void xref:bitset_detail/IntBitSet/Set-04.adoc[Set]( unsigned int pos, bool val) noexcept; ---- [.small]#xref:bitset_detail/IntBitSet/Set-04.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *pos* | The bit position to set. | *val* | The value to assign to the bit. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#