[#bitset_detail-MultiIntBitSet-Set-09]
= xref:bitset_detail.adoc[bitset&lowbar;detail]::xref:bitset_detail/MultiIntBitSet.adoc[MultiIntBitSet]::Set
:relfileprefix: ../../
:mrdocs:

Set a bit to the specified value&period;

== Synopsis

Declared in `&lt;util&sol;bitset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
void
Set(
    unsigned int pos,
    bool val) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pos*
| The bit position to modify&period;
| *val*
| The value to assign to the bit&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
