fs::operator<=>

Three-way comparison operator

Synopsis

Declared in <util/fs.h>

[[__visibility__, __exclude_from_explicit_instantiation__, __abi_tag__]]
strong_ordering
operator<=>(
    path const& __lhs,
    path const& __rhs) noexcept;

NOTE

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

Return Value

The relative order of the objects

Parameters

NameDescription
__lhsThe left operand
__rhsThe right operand