◐ Shell
clean mode source ↗

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

Материал из cppreference.com

<metanoindex/>

<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::uses_allocator типа для std::priority_queue: контейнер адаптер использует распределитель, если и только если основной контейнер делает.

Оригинал:

Provides a transparent specialization of the std::uses_allocator type trait for std::priority_queue: the container adaptor uses allocator if and only if the underlying container does.

Текст был переведён автоматически используя Переводчик Google.
Вы можете проверить и исправить перевод. Для инструкций щёлкните сюда.

См. также

проверяет, поддерживает ли указанный тип конструирование с uses_allocator
(шаблон класса) [править]