Files
2025-10-25 03:02:53 +03:00

1.0 KiB

[tuple.traits]

22 General utilities library [utilities]

22.4 Tuples [tuple]

22.4.11 Tuple traits [tuple.traits]

🔗

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

1

#

Preconditions: Alloc meets the Cpp17Allocator requirements ([allocator.requirements.general]).

2

#

[Note 1:

Specialization of this trait informs other library components thattuple can be constructed with an allocator, even though it does not have a nested allocator_type.

— end note]