uses_allocator 構造体
常に true を保持する特殊化です。
構文
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;
必要条件
ヘッダー:<future>
名前空間: std
特殊化
<tuple>
template <class... Types, class Alloc>
struct uses_allocator<tuple<Types...>, Alloc>;
関連項目
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示