◐ Shell
clean mode source ↗

std::uses_allocator<std::priority_queue> - cppreference.com

提供: cppreference.com

<tbody> </tbody>

template< class T, class Container, class Compare,class Alloc > struct uses_allocator<priority_queue<T,Compare,Container>,Alloc> : std::uses_allocator<Container, Alloc>::type { };

(C++11以上)

std::priority_queue に対する std::uses_allocator 型特性の透明な特殊化を提供します。 ベースとなるコンテナがアロケータを使用する場合にのみ、コンテナアダプタはアロケータを使用します。

std::integral_constant から継承

メンバ定数

true
(パブリック静的メンバ定数)

メンバ関数

オブジェクトを bool に変換します。 value を返します
(パブリックメンバ関数)
value を返します
(パブリックメンバ関数)

メンバ型

定義
value_type bool
type std::integral_constant<bool, value>

関連項目