[#llvm-replace-08] = xref:llvm.adoc[llvm]::replace :relfileprefix: ../ :mrdocs: Replace []`ContIt,` `ContEnd)` in `Cont` with []`ValIt,` `ValEnd).` == Synopsis Declared in `<llvm/ADT/STLExtras.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Container, typename RandomAccessIterator> void replace( Container& Cont, Container::iterator ContIt, Container::iterator ContEnd, RandomAccessIterator ValIt, RandomAccessIterator ValEnd); ---- == Description The replacement range must not come from the same container. == Parameters [cols="1,4"] |=== | Name| Description | *Cont* | Sequence container to modify. | *ContIt* | Start of the destination subrange. | *ContEnd* | End of the destination subrange. | *ValIt* | Start of the replacement values. | *ValEnd* | End of the replacement values. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#