|
void * | std::align (size_t __align, size_t __size, void *&__ptr, size_t &__space) noexcept |
|
template<size_t _Align, class _Tp > |
constexpr _Tp * | std::assume_aligned (_Tp *__ptr) noexcept |
|
template<typename _InputIterator , typename _ForwardIterator > |
_ForwardIterator | std::uninitialized_copy (_InputIterator __first, _InputIterator __last, _ForwardIterator __result) |
|
template<typename _InputIterator , typename _Size , typename _ForwardIterator > |
_ForwardIterator | std::uninitialized_copy_n (_InputIterator __first, _Size __n, _ForwardIterator __result) |
|
template<typename _ForwardIterator > |
void | std::uninitialized_default_construct (_ForwardIterator __first, _ForwardIterator __last) |
|
template<typename _ForwardIterator , typename _Size > |
_ForwardIterator | std::uninitialized_default_construct_n (_ForwardIterator __first, _Size __count) |
|
template<typename _ForwardIterator , typename _Tp > |
void | std::uninitialized_fill (_ForwardIterator __first, _ForwardIterator __last, const _Tp &__x) |
|
template<typename _ForwardIterator , typename _Size , typename _Tp > |
_ForwardIterator | std::uninitialized_fill_n (_ForwardIterator __first, _Size __n, const _Tp &__x) |
|
template<typename _InputIterator , typename _ForwardIterator > |
_ForwardIterator | std::uninitialized_move (_InputIterator __first, _InputIterator __last, _ForwardIterator __result) |
|
template<typename _InputIterator , typename _Size , typename _ForwardIterator > |
pair< _InputIterator, _ForwardIterator > | std::uninitialized_move_n (_InputIterator __first, _Size __count, _ForwardIterator __result) |
|
template<typename _ForwardIterator > |
void | std::uninitialized_value_construct (_ForwardIterator __first, _ForwardIterator __last) |
|
template<typename _ForwardIterator , typename _Size > |
_ForwardIterator | std::uninitialized_value_construct_n (_ForwardIterator __first, _Size __count) |
|
Components for memory allocation, deallocation, and management.
template<size_t _Align, class _Tp >
constexpr _Tp * std::assume_aligned |
( |
_Tp * |
__ptr | ) |
|
|
constexprnoexcept |
Inform the compiler that a pointer is aligned.
- Template Parameters
-
_Align | An alignment value (i.e. a power of two) |
_Tp | An object type |
- Parameters
-
__ptr | A pointer that is aligned to _Align |
C++20 20.10.6 [ptr.align]
Definition at line 93 of file align.h.
References std::has_single_bit(), and std::is_constant_evaluated().
template<typename _InputIterator , typename _ForwardIterator >
_ForwardIterator std::uninitialized_copy |
( |
_InputIterator |
__first, |
|
|
_InputIterator |
__last, |
|
|
_ForwardIterator |
__result |
|
) |
| |
|
inline |
template<typename _InputIterator , typename _Size , typename _ForwardIterator >
_ForwardIterator std::uninitialized_copy_n |
( |
_InputIterator |
__first, |
|
|
_Size |
__n, |
|
|
_ForwardIterator |
__result |
|
) |
| |
|
inline |
Copies the range [first,first+n) into result.
- Parameters
-
__first | An input iterator. |
__n | The number of elements to copy. |
__result | An output iterator. |
- Returns
- __result + __n
- Since
- C++11
Like copy_n(), but does not require an initialized output range.
Definition at line 935 of file stl_uninitialized.h.
References std::__iterator_category().
template<typename _ForwardIterator , typename _Tp >
void std::uninitialized_fill |
( |
_ForwardIterator |
__first, |
|
|
_ForwardIterator |
__last, |
|
|
const _Tp & |
__x |
|
) |
| |
|
inline |
Copies the value x into the range [first,last).
- Parameters
-
__first | An input iterator. |
__last | An input iterator. |
__x | The source value. |
- Returns
- Nothing.
Like fill(), but does not require an initialized output range.
Definition at line 241 of file stl_uninitialized.h.
template<typename _ForwardIterator , typename _Size , typename _Tp >
_ForwardIterator std::uninitialized_fill_n |
( |
_ForwardIterator |
__first, |
|
|
_Size |
__n, |
|
|
const _Tp & |
__x |
|
) |
| |
|
inline |
Copies the value x into the range [first,first+n).
- Parameters
-
__first | An input iterator. |
__n | The number of copies to make. |
__x | The source value. |
- Returns
- Nothing.
Like fill_n(), but does not require an initialized output range.
Definition at line 312 of file stl_uninitialized.h.