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

Check if bitset a is a subset of bitset b (&equals; every 1 bit in a is also in b)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
IsSubsetOf(xref:bitset_detail/MultiIntBitSet.adoc[MultiIntBitSet] const& a) const noexcept;
----

== Return Value

true if every bit set in this bitset is also set in a&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The candidate superset&period;
|===


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