[#llvm-shuffle] = xref:llvm.adoc[llvm]::shuffle :relfileprefix: ../ :mrdocs: Randomly shuffle the elements in []`first,` `last)` using generator `g.` == Synopsis Declared in `<llvm/ADT/STLExtras.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class Iterator, class RNG> void shuffle( Iterator first, Iterator last, RNG&& g); ---- == Parameters [cols="1,4"] |=== | Name| Description | *first* | Iterator to the first element to shuffle. | *last* | Iterator past the last element to shuffle. | *g* | Uniform random bit generator. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#