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;
Note

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

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