Namespaces
Variants

deduction guides for std::indirect

From cppreference.net
Memory management library
( exposition only* )
Allocators
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Memory resources
Uninitialized storage (until C++20)
( until C++20* )
( until C++20* )
( until C++20* )

Garbage collector support (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
ヘッダーで定義 <memory>
template < class Value >
indirect ( Value ) - > indirect < Value > ;
(1) (C++26以降)
template < class Alloc, class Value >

indirect ( std:: allocator_arg_t , Alloc, Value )
- > indirect < Value, typename std:: allocator_traits < Alloc > ::

template rebind_alloc < Value >> ;
(2) (C++26以降)
1) この deduction guide std::indirect に対して提供され、単一の値からの推論を可能にします。
2) この推論ガイドは、 std::indirect に対して提供され、値型が Value と異なるアロケータからの推論を可能にします。