cppannotations/yo/generic/swapranges.yo
Frank B. Brokken 31335c7538 WIP
git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@369 f6dd340e-d3f9-0310-b409-bdd246841980
2009-12-31 22:00:13 +00:00

19 lines
646 B
Text

hi(swap_ranges)
itemization(
it() Header file: tt(<algorithm>)
it() Function prototype:
itemization(
itt(ForwardIterator2 swap_ranges+OPENPARForwardIterator1 first1,
ForwardIterator1)linebreak()
tt(last1, ForwardIterator2 result+CLOSEPAR;)
)
it() Description:
itemization(
it() The elements in the range pointed to by rangett(first1, last1)
are swapped with the elements in the range rangett(result, returnvalue), where
tt(returnvalue) is the value returned by the function. The two ranges must be
disjoint.
)
it() Example:
verbinclude(generic/examples/swapranges.cc)
)