Performs a three‐way comparison of two big integers.

Synopsis

Declared in <arith_uint256.h>

std::strong_ordering
operator<=>(
    base_uint<256> const& a,
    base_uint<256> const& b);
Note

This function is a hidden friend of base_uint, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

The ordering of a relative to b.

Parameters

Name

Description

a

The left‐hand operand.

b

The right‐hand operand.

Created with MrDocs