◐ Shell
clean mode source ↗

std::uses_allocator<std::queue> – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

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

(seit C++11)

Eine transparente Spezialisierung des Typs std::uses_allocator Merkmal für std::queue: der Behälter Adapter verwendet Zuordner wenn und nur wenn die darunterliegenden Behälter macht .

Original:

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

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Siehe auch

prüft, ob der angegebene Typ allokatorgestützte Erzeugung unterstützt.
(Klassen-Template) [edit]