[#operator_bitand-08]
= operator&amp;
:mrdocs:

Bitwise conjunction operators

== Synopses

Declared in `&lt;arith&lowbar;uint256&period;h&gt;`

Bitwise AND of two flag sets&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:script_verify_flags.adoc[script&lowbar;verify&lowbar;flags]
xref:operator_bitand-02.adoc[operator&amp;](
    xref:script_verify_flags.adoc[script&lowbar;verify&lowbar;flags] a,
    xref:script_verify_flags.adoc[script&lowbar;verify&lowbar;flags] b);
----

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

Returns the bitwise AND of two big integers&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:base_uint-02.adoc[base&lowbar;uint]
xref:operator_bitand-0d.adoc[operator&amp;](
    xref:base_uint-02.adoc[base&lowbar;uint] const& a,
    xref:base_uint-02.adoc[base&lowbar;uint] const& b);
----

[.small]#xref:operator_bitand-0d.adoc[_» more&period;&period;&period;_]#

Returns the bitwise AND of two big integers&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:base_uint-02.adoc[base&lowbar;uint&lt;256&gt;]
xref:operator_bitand-07.adoc[operator&amp;](
    xref:base_uint-02.adoc[base&lowbar;uint&lt;256&gt;] const& a,
    xref:base_uint-02.adoc[base&lowbar;uint&lt;256&gt;] const& b);
----

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

== Return Value

* The intersection of a and b&period;
* The bitwise AND of `a` and `b&period;`

== Parameters

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


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