A RetroSearch Logo

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

Search Query:

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

class template

<tuple>

std::uses_allocator<tuple>
template <class... Types, class Alloc>  struct uses_allocator<tuple<Types...>,Alloc>;

Uses allocator for tuple

This trait specialization of uses_allocator informs that tuple objects can be constructed with allocators, even though the class does not have any allocator_type member. It is defined in the <tuple> with the same behavior as:

1
2
template <class... Types, class Alloc>
struct uses_allocator<tuple<Types...>, Alloc > : true_type {};


See also
uses_allocator
Uses allocator (class template)
tuple::tuple
Construct tuple (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