Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 809 Bytes

File metadata and controls

39 lines (28 loc) · 809 Bytes

operator<=>

  • chrono[meta header]
  • std::chrono[meta namespace]
  • function[meta id-type]
  • cpp20[meta cpp]
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();
  • name()[link name.md]

例外

投げない

備考

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

バージョン

言語

  • C++20

処理系

  • Clang: (9.0時点で実装なし)
  • GCC: (9.2時点で実装なし)
  • Visual C++: (2019 Update 3時点で実装なし)