Horizon
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
swap_ranges.hpp File Reference
#include <range/v3/range_fwd.hpp>
#include <range/v3/algorithm/result_types.hpp>
#include <range/v3/iterator/concepts.hpp>
#include <range/v3/iterator/traits.hpp>
#include <range/v3/range/access.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/range/dangling.hpp>
#include <range/v3/range/traits.hpp>
#include <range/v3/utility/static_const.hpp>
#include <range/v3/detail/prologue.hpp>
#include <range/v3/detail/epilogue.hpp>

Go to the source code of this file.

Namespaces

namespace  ranges::cpp20
 

Typedefs

template<typename I1 , typename I2 >
using ranges::swap_ranges_result = detail::in1_in2_result< I1, I2 >
 

Functions

 ranges::template (typename I1, typename S1, typename I2)(AND sentinel_for< S1
 function template swap_ranges
 
I1 AND input_iterator< I2 > AND indirectly_swappable< I1, I2 > constexpr swap_ranges_result< I1, I2 > RANGES_FUNC() ranges::swap_ranges (I1 begin1, S1 end1, I2 begin2)
 
 ranges::template (typename I1, typename S1, typename I2, typename S2)(AND sentinel_for< S1
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
I1 AND input_iterator< I2 > AND sentinel_for< S2, I2 > AND indirectly_swappable< I1, I2 > constexpr swap_ranges_result< I1, I2 > RANGES_FUNC() ranges::swap_ranges (I1 begin1, S1 end1, I2 begin2, S2 end2)
 
 ranges::template (typename Rng1, typename I2_)(AND input_iterator< uncvref_t< I2_ > > AND indirectly_swappable< iterator_t< Rng1 >
 
uncvref_t< I2_ > constexpr swap_ranges_result< iterator_t< Rng1 >, uncvref_t< I2_ > > RANGES_FUNC() ranges::swap_ranges (Rng1 &&rng1, I2_ &&begin2)
 
 ranges::template (typename Rng1, typename Rng2)(AND input_range< Rng2 > AND indirectly_swappable< iterator_t< Rng1 >
 
iterator_t< Rng2 > constexpr swap_ranges_result< borrowed_iterator_t< Rng1 >, borrowed_iterator_t< Rng2 > > RANGES_FUNC() ranges::swap_ranges (Rng1 &&rng1, Rng2 &&rng2)