次の方法で共有


concurrent_unordered_map::at メソッド

指定されたキー値を持つ concurrent_unordered_map の要素を見つけます。このメソッドは同時実行セーフです。

mapped_type& at(
   const key_type& _Keyval
);

const mapped_type& at(
   const key_type& _Keyval
) const;

パラメーター

  • _Keyval
    検索するキー値。

戻り値

見つかった要素のデータ値への参照。

解説

引数のキー値が見つからない場合、クラス out_of_rangeのオブジェクトをスローします。

必要条件

ヘッダー: concurrent_unordered_map.h

名前空間: の同時実行

参照

関連項目

concurrent_unordered_map クラス