Three‐way‐compare two strong values; available iff T is comparable.

Synopsis

Declared in <folly/lang/Strong.h>

auto
operator<=>(
    strong const& lhs,
    strong const& rhs) = default;

Return Value

The result of comparing the wrapped values.

Parameters

Name

Description

lhs

The left‐hand strong value.

rhs

The right‐hand strong value.

Created with MrDocs