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

Name

Description

__lhs

The left operand

__rhs

The right operand

Created with MrDocs