std::uses_allocator<std::priority_queue>
STD::用途[医]分配器<std::优先级[医]队列>
template< class T, class Container, class Compare,class Alloc > struct uses_allocator,Alloc> : std::uses_allocator::type { }; | | (since C++11) |
---|
提供一个透明的专门化std::uses_allocator
类型性状std::priority_queue
::容器适配器使用分配程序的当且仅当底层容器使用。
继承自STD:积分[医]常量
成员常数
value static | true (public static member constant) |
---|
成员函数
operator bool | converts the object to bool, returns value (public member function) |
---|
operator() (C++14) | returns value (public member function) |
成员类型
Type | Definition |
---|
value_type | bool |
type | std::integral_constant<bool, value> |
另见
uses_allocator (C++11) | checks if the specified type supports uses-allocator construction (class template) |
---|
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
http://en.cppreference.com/w/cpp/容器/优先级[医]队列/用途[医]分配器