Iros
 
Loading...
Searching...
No Matches
di::container::detail::SwapRanges Struct Reference

#include <di/container/algorithm/swap_ranges.h>

Public Member Functions

template<concepts::InputIterator It1, concepts::SentinelFor< It1 > Sent1, concepts::InputIterator It2, concepts::SentinelFor< It2 > Sent2>
requires (concepts::IndirectlySwappable<It1, It2>)
constexpr auto operator() (It1 first1, Sent1 last1, It2 first2, Sent2 last2) const -> InInResult< It1, It2 >
 
template<concepts::InputContainer Con1, concepts::InputContainer Con2>
requires (concepts::IndirectlySwappable<meta::ContainerIterator<Con1>, meta::ContainerIterator<Con2>>)
constexpr auto operator() (Con1 &&container1, Con2 &&container2) const -> InInResult< meta::BorrowedIterator< Con1 >, meta::BorrowedIterator< Con2 > >
 

Member Function Documentation

◆ operator()() [1/2]

template<concepts::InputContainer Con1, concepts::InputContainer Con2>
requires (concepts::IndirectlySwappable<meta::ContainerIterator<Con1>, meta::ContainerIterator<Con2>>)
auto di::container::detail::SwapRanges::operator() ( Con1 && container1,
Con2 && container2 ) const -> InInResult<meta::BorrowedIterator<Con1>, meta::BorrowedIterator<Con2>>
inlineconstexpr

◆ operator()() [2/2]

template<concepts::InputIterator It1, concepts::SentinelFor< It1 > Sent1, concepts::InputIterator It2, concepts::SentinelFor< It2 > Sent2>
requires (concepts::IndirectlySwappable<It1, It2>)
auto di::container::detail::SwapRanges::operator() ( It1 first1,
Sent1 last1,
It2 first2,
Sent2 last2 ) const -> InInResult<It1, It2>
inlineconstexpr

The documentation for this struct was generated from the following file: