assign overloads
Synopses
Declared in <absl/container/inlined_vector.h>
Overload of InlinedVector::assign(...) that replaces the contents of the inlined vector with copies of the elements of list.
void
assign(std::initializer_list<value_type> list);
Replaces the contents of the inlined vector with n copies of v.
void
assign(
size_type n,
const_reference v);
Overload of InlinedVector::assign(...) to replace the contents of the inlined vector with the range [`first`, last).]
template<
typename ForwardIterator,
EnableIfAtLeastForwardIterator<ForwardIterator> = 0>
void
assign(
ForwardIterator first,
ForwardIterator last);
Overload of InlinedVector::assign(...) to replace the contents of the inlined vector with the range [`first`, last).]
template<
typename InputIterator,
DisableIfAtLeastForwardIterator<InputIterator> = 0>
void
assign(
InputIterator first,
InputIterator last);
Overload of InlinedVector::assign(...) to replace the contents of the inlined vector with the range [`first`, last).]
template<
typename InputIterator,
DisableIfAtLeastForwardIterator<InputIterator> = 0>
void
assign(
InputIterator first,
InputIterator last);
Parameters
Name |
Description |
list |
The initializer list to copy elements from. |
n |
The number of copies to assign. |
v |
The value to copy into each element. |
first |
An iterator to the beginning of the range. |
last |
An iterator past the end of the range. |
Created with MrDocs