◐ Shell
clean mode source ↗

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

De cppreference.com

<metanoindex/>

<tbody> </tbody>

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

(desde C++11)

Fornece uma especialização transparente do tipo traço std::uses_allocator para std::stack: o adaptador recipiente usa alocador se e só se o recipiente subjacente faz.

Original:

Provides a transparent specialization of the std::uses_allocator type trait for std::stack: 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.

Veja também

verifica se o tipo especificado suporta usos alocador-construção

Original:

checks if the specified type supports uses-allocator construction

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


(modelo de classe) [edit]