Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

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

      From cppreference.com
      <cpp‎ |memory‎ |raw storage iterator
       
       
      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*)
      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)(since C++17)
      1) Constructs a value at the location the iterator points to fromel.
      2) Constructs a value at the location the iterator points to fromstd::move(el).

      [edit]Parameters

      el - the value to copy or move from

      [edit]Return value

      *this

      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/memory/raw_storage_iterator/operator%3D&oldid=160264"

      [8]ページ先頭

      ©2009-2026 Movatter.jp