A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/stack/stack/uses_allocator/ below:

class template

<stack>

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

Uses allocator for stack

This trait specialization of uses_allocator informs whether the stack accepts an allocator convertible from Alloc, by inheriting either from true_type or from false_type/samp>.

It is equivalent to the uses_allocator instantiation for its underlying container.

It is defined in <stack> as:


1
2
3
template <class T, class Container, class Alloc>
  struct uses_allocator<stack<T,Container>,Alloc>
    : uses_allocator<Container,Alloc>::type {}

See also
uses_allocator
Uses allocator (class template)
stack::stack
Construct stack (public member function)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4