std::indirect
|
|
| 在标头 <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 起) |
Value 不同的分配器推导。| 本节未完成 原因:暂无示例 |