Functions

Functions

template<typename ForwardIterator1 , typename ForwardIterator2 >
ForwardIterator2 ustl::swap_ranges (ForwardIterator1 first, ForwardIterator2 last, ForwardIterator2 result)
 
template<typename Iterator >
void ustl::iter_swap (Iterator a, Iterator b)
 

Detailed Description

Algorithms for swapping elements.

Function Documentation

template<typename Iterator >
void ustl::iter_swap ( Iterator  a,
Iterator  b 
)
inline
template<typename ForwardIterator1 , typename ForwardIterator2 >
ForwardIterator2 ustl::swap_ranges ( ForwardIterator1  first,
ForwardIterator2  last,
ForwardIterator2  result 
)
inline

Swaps corresponding elements of [first, last) and [result,)

References ustl::iter_swap().


Generated on Mon Sep 28 2015 17:58:50 for uSTL by Doxygen 1.8.10