Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 924 Bytes

File metadata and controls

36 lines (28 loc) · 924 Bytes

uses_allocator

  • future[meta header]
  • std[meta namespace]
  • class template[meta id-type]
  • cpp11[meta cpp]
  • cpp26removed[meta cpp]
namespace std {
  template <class R, class Alloc>
  struct uses_allocator<promise<R>, Alloc>
    : true_type { };
}
  • true_type[link /reference/type_traits/true_type.md]

この特殊化はC++11で導入され、C++26で削除された。

概要

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

バージョン

言語

  • C++11

処理系

参照