Namespaces
Variants

std::raw_storage_iterator<OutputIt,T>:: operator=

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)
raw_storage_iterator & operator = ( const T & el ) ;
(1)
raw_storage_iterator & operator = ( T && el ) ;
(2) (C++17 起)
1) 在迭代器指向的位置从 el 构造一个值。
2) 在迭代器指向的位置通过 std :: move ( el ) 构造一个值。

参数

el - 要复制或移动来源的值

返回值

* this