libstdc++
|
Modules | |
Allocators | |
Pointer Abstractions | |
Pointer Safety and Garbage Collection | |
Polymorphic memory resources | |
Files | |
file | memory |
Components for memory allocation, deallocation, and management.
Fit aligned storage in buffer.
This function tries to fit __size bytes of storage with alignment __align into the buffer __ptr of size __space bytes. If such a buffer fits then __ptr is changed to point to the first byte of the aligned storage and __space is reduced by the bytes used for alignment.
C++11 20.6.5 [ptr.align]
__align | A fundamental or extended alignment value. |
__size | Size of the aligned storage required. |
__ptr | Pointer to a buffer of __space bytes. |
__space | Size of the buffer pointed to by __ptr. |
|
inline |
Copies the range [first,last) into result.
__first | An input iterator. |
__last | An input iterator. |
__result | A forward iterator. |
Like std::copy, but does not require an initialized output range.
Definition at line 231 of file stl_uninitialized.h.
References std::to_address().
Referenced by __gnu_parallel::parallel_sort_mwms_pu(), and std::uninitialized_move().
|
inline |
Copies the range [first,first+n) into result.
__first | An input iterator. |
__n | The number of elements to copy. |
__result | An output iterator. |
Like copy_n(), but does not require an initialized output range.
Definition at line 1148 of file stl_uninitialized.h.
References std::__iterator_category().
|
inline |
Default-initializes objects in the range [first,last).
__first | A forward iterator. |
__last | A forward iterator. |
Definition at line 1177 of file stl_uninitialized.h.
|
inline |
Default-initializes objects in the range [first,first+count).
__first | A forward iterator. |
__count | The number of objects to construct. |
Definition at line 1193 of file stl_uninitialized.h.
|
inline |
Copies the value x into the range [first,last).
__first | A forward iterator. |
__last | A forward iterator. |
__x | The source value. |
Like std::fill, but does not require an initialized output range.
Definition at line 392 of file stl_uninitialized.h.
References std::to_address().
|
inline |
Copies the value x into the range [first,first+n).
__first | A forward iterator. |
__n | The number of copies to make. |
__x | The source value. |
Like std::fill_n, but does not require an initialized output range.
Definition at line 526 of file stl_uninitialized.h.
References std::to_address().
|
inline |
Move-construct from the range [first,last) into result.
__first | An input iterator. |
__last | An input iterator. |
__result | An output iterator. |
Definition at line 1239 of file stl_uninitialized.h.
References std::uninitialized_copy().
|
inline |
Move-construct from the range [first,first+count) into result.
__first | An input iterator. |
__count | The number of objects to initialize. |
__result | An output iterator. |
Definition at line 1258 of file stl_uninitialized.h.
|
inline |
Value-initializes objects in the range [first,last).
__first | A forward iterator. |
__last | A forward iterator. |
Definition at line 1207 of file stl_uninitialized.h.
|
inline |
Value-initializes objects in the range [first,first+count).
__first | A forward iterator. |
__count | The number of objects to construct. |
Definition at line 1223 of file stl_uninitialized.h.