最終更新日時:
が更新

履歴 編集

class template
<future>

std::uses_allocator(C++11)(C++20で削除)

namespace std {
  template <class R, class Alloc>
  struct uses_allocator<packaged_task<R>, Alloc>
    : true_type { };
}

packaged_taskのアロケータサポートはC++17で削除されたが、この特殊化はC++17の規格には残っていた。C++20で、取り残されていたこの特殊化も削除された。

概要

uses_allocatorの、packaged_task<R>に対する特殊化。


出力


バージョン

言語

  • C++11

処理系

参照