hash_map::allocator_type

注意事項注意事項

這個 API 已經過時。這個選項是 unordered_map Class

表示 hash_map 物件的配置器類別的類型。

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

備註

allocator_typeAllocator 樣板參數的同義字。

在 Visual C++ .NET Pocket PC, <hash_map><hash_set> 標頭檔 (Header File) 的成員不在 std 命名空間,,而是移至 stdext 命名空間。如需詳細資訊,請參閱 stdext 命名空間

範例

使用 allocator_type,為範例的 get_allocator 參閱範例。

需求

標題: <hash_map>

命名空間: stdext

請參閱

參考

hash_map Class

標準樣板程式庫