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

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

Public Member Functions

template<concepts::Permutable Iter, concepts::SentinelFor< Iter > Sent>
constexpr auto operator() (Iter first, Iter pivot, Sent last_sentinel) const -> View< Iter >
 
template<concepts::ForwardContainer Con>
requires (concepts::Permutable<meta::ContainerIterator<Con>>)
constexpr auto operator() (Con &&container, meta::ContainerIterator< Con > pivot) const -> meta::BorrowedView< Con >
 

Member Function Documentation

◆ operator()() [1/2]

template<concepts::ForwardContainer Con>
requires (concepts::Permutable<meta::ContainerIterator<Con>>)
auto di::container::detail::RotateFunction::operator() ( Con && container,
meta::ContainerIterator< Con > pivot ) const -> meta::BorrowedView<Con>
inlineconstexpr

◆ operator()() [2/2]

template<concepts::Permutable Iter, concepts::SentinelFor< Iter > Sent>
auto di::container::detail::RotateFunction::operator() ( Iter first,
Iter pivot,
Sent last_sentinel ) const -> View<Iter>
inlineconstexpr

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