[#bitset_detail-operator_bitand-02]
= xref:bitset_detail.adoc[bitset&lowbar;detail]::operator&amp;
:relfileprefix: ../
:mrdocs:

Return an object with the binary AND between respective bits from a and b&period;

== Synopses

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

Return an object with the binary AND between respective bits from a and b&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:bitset_detail/IntBitSet.adoc[IntBitSet]
xref:bitset_detail/operator_bitand-00.adoc[operator&amp;](
    xref:bitset_detail/IntBitSet.adoc[IntBitSet] const& a,
    xref:bitset_detail/IntBitSet.adoc[IntBitSet] const& b) noexcept;
----

[.small]#xref:bitset_detail/operator_bitand-00.adoc[_» more&period;&period;&period;_]#

Return an object with the binary AND between respective bits from a and b&period;


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

[.small]#xref:bitset_detail/operator_bitand-07.adoc[_» more&period;&period;&period;_]#

== Return Value

The intersection of a and b&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The left&hyphen;hand bitset&period;
| *b*
| The right&hyphen;hand bitset&period;
|===


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