次の方法で共有


hash_set::const_pointer

[!メモ]

この API は、互換性のために残されています。代わりに unordered_set クラスです。

hash_setの [const] の要素へのポインターを提供する型。

typedef list<typename Traits::value_type, typename Traits::allocator_type>::const_pointer const_pointer;

解説

const_pointer が要素の値を変更することはできません。

ほとんどの場合、const_iterator[const] のhash_setのオブジェクトの要素にアクセスする必要があります。

Visual C++ .NET 2003では、<hash_map><hash_set> ヘッダー ファイルのメンバーはstdの名前空間に存在しなくなりましたが、ではなくstdextの名前空間に型。詳細については、「The stdext Namespace」を参照してください。

必要条件

ヘッダー: <hash_set>

名前空間: のstdext

参照

関連項目

hash_set Class

標準テンプレート ライブラリ