[#absl-chunked_queue-assign-06] = xref:absl.adoc[absl]::xref:absl/chunked_queue.adoc[chunked_queue]::assign :relfileprefix: ../../ :mrdocs: `assign` overloads == Synopses Declared in `<absl/container/chunked_queue.h>` Replaces the contents with the elements from the initializer list `il`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/chunked_queue/assign-02.adoc[assign](std::initializer_list<T> il); ---- [.small]#xref:absl/chunked_queue/assign-02.adoc[_» more..._]# Replaces the contents with `count` copies of `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/chunked_queue/assign-0c.adoc[assign]( xref:absl/chunked_queue/size_type.adoc[size_type] count, T const& value); ---- [.small]#xref:absl/chunked_queue/assign-0c.adoc[_» more..._]# Replaces the contents with copies of those in the range [first, last).] [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Iter> requires base_internal::IsAtLeastInputIterator<Iter>::value void xref:absl/chunked_queue/assign-09.adoc[assign]( Iter first, Iter last); ---- [.small]#xref:absl/chunked_queue/assign-09.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *il* | The initializer list to copy elements from. | *count* | The number of elements to create. | *value* | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#