operator&

Bitwise conjunction operators

Synopses

Declared in <arith_uint256.h>

Bitwise AND of two flag sets.

constexpr
script_verify_flags
operator&(
    script_verify_flags a,
    script_verify_flags b);
» more...

Returns the bitwise AND of two big integers.

base_uint
operator&(
    base_uint const& a,
    base_uint const& b);
» more...

Returns the bitwise AND of two big integers.

base_uint<256>
operator&(
    base_uint<256> const& a,
    base_uint<256> const& b);
» more...

Return Value

  • The intersection of a and b.
  • The bitwise AND of a and b.

Parameters

NameDescription
aThe left-hand flag set.
bThe right-hand flag set.