• Class / Function / Type

      std::
    • Header file

      <>
    • Other / All

    最終更新日時(UTC):
    が更新

    履歴 編集

    function
    <chrono>

    std::chrono::operator<=>

    namespace std::chrono {
      constexpr strong_ordering operator<=>(const time_zone_link& x, const time_zone_link& y) noexcept; // (1) C++20
    }
    

    概要

    time_zone_link同士の三方比較を行う。

    戻り値

    return x.name() <=> y.name();
    

    例外

    投げない

    備考

    • この演算子により、operator<operator<=operator>operator>=が使用可能になる

    バージョン

    言語

    • C++20

    処理系