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

履歴 編集

function
<system_error>

std::operator<(C++11)

namespace std {
  // operator<=>により、以下の演算子が使用可能になる (C++20)
  bool
    operator<(const error_code& lhs,
              const error_code& rhs) noexcept; // (1) C++11
}

概要

error_codeにおいて、左辺が右辺より小さいかの比較を行う。

戻り値

return lhs.category() < rhs.category() || lhs.category() == rhs.category() && lhs.value() < rhs.value();

例外

投げない

出力

false

バージョン

言語

  • C++11

処理系

参照