Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
Spesialisasi yang selalu benar.
Sintaks
template <class Ty, class Alloc>
struct uses_allocator<promise<Ty>, Alloc> : true_type;
template <class Ty, class Alloc>
struct uses_allocator<packaged_task<Ty>, Alloc> : true_type;
Persyaratan
Header:<future>
Namespace: std
Spesialisasi
<tuple>
template <class... Types, class Alloc>
struct uses_allocator<tuple<Types...>, Alloc>;