[#prevector-0c-assign-088] = xref:prevector-0c.adoc[prevector]::assign :relfileprefix: ../ :mrdocs: Replaces the contents with copies of the elements in the range [first, last).] == Synopsis Declared in `<prevector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<std::input_iterator InputIterator> void assign( InputIterator first, InputIterator last); ---- == Parameters [cols="1,4"] |=== | Name| Description | *first* | Iterator to the first element to copy. | *last* | Iterator one past the last element to copy. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#