• Class / Function / Type

      std::
    • Header file

      <>
    • Other / All

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

    履歴 編集

    class
    <flat_map>

    std::flat_multimap::key_equiv

    struct key_equiv {
      key_equiv(key_compare c) : comp(c) { }
    
      bool operator()(const_reference x, const_reference y) const {
        return !comp(x.first, y.first) && !comp(y.first, x.first);
      }
    
      key_compare comp;
    };
    

    概要

    要素をとってキーの等価比較を行う説明専用の関数オブジェクト。

    バージョン

    言語

    • C++23

    処理系