Range-v3
Range algorithms, views, and actions for the Standard Library
Actions

Eager, mutating, composable algorithms. More...

Classes

struct  ranges::make_action_closure_fn
 
struct  ranges::push_back_fn
 
struct  ranges::push_front_fn
 

Typedefs

template<typename Cont , typename Rng >
using ranges::insert_t = decltype(static_cast< void >(ranges::insert(std::declval< Cont & >(), std::declval< sentinel_t< Cont > >(), std::declval< Rng >())))
 
template<typename Cont , typename T >
using ranges::push_back_t = decltype(static_cast< void >(unwrap_reference(std::declval< Cont & >()).push_back(std::declval< T >())))
 
template<typename Cont , typename T >
using ranges::push_front_t = decltype(static_cast< void >(unwrap_reference(std::declval< Cont & >()).push_front(std::declval< T >())))
 

Functions

template<typename Cont , typename Rng >
CPP_TEMPLATE_AUX_0 ranges::i (requires lvalue_container_like< Cont > &&range< Rng >) iiinsert_t< Cont
 
template<typename Cont , typename T >
CPP_TEMPLATE_AUX_0 ranges::p (requires lvalue_container_like< Cont > &&(!range< T >) &&constructible_from< range_value_t< Cont >, T >) pppush_back_t< Cont
 
CPP_TEMPLATE_AUX_0 Rng ranges::push_back (Cont &&cont, Rng &&rng)
 
CPP_TEMPLATE_AUX_0ranges::push_back (Cont &&cont, T &&t)
 
CPP_TEMPLATE_AUX_0 Rng ranges::push_front (Cont &&cont, Rng &&rng)
 
CPP_TEMPLATE_AUX_0ranges::push_front (Cont &&cont, T &&t)
 
 ranges::template (typename ActionFn, typename Rng)(concept invocable_action_closure_
 \concept invocable_action_closure_ More...
 

Variables

constexpr adl_erase_detail::erase_fn ranges::erase {}
 
template<typename ActionFn , typename Rng >
concept ranges::iinvocable_action_closure
 \concept invocable_action_closure More...
 
constexpr adl_insert_detail::insert_fn insert {}
 
constexpr make_action_closure_fn ranges::make_action_closure {}
 

Detailed Description

Eager, mutating, composable algorithms.

Function Documentation

◆ template()

ranges::template ( typename ActionFn  ,
typename Rng   
)

#include <range/v3/action/action.hpp>

\concept invocable_action_closure_

The invocable_action_closure_ concept

Variable Documentation

◆ iinvocable_action_closure

template<typename ActionFn , typename Rng >
concept ranges::iinvocable_action_closure

#include <range/v3/action/action.hpp>

Initial value:
=
invocable<ActionFn, Rng> &&
ranges::invocable_action_closure_ < ActionFn, Rng >

\concept invocable_action_closure

The invocable_action_closure concept

◆ make_action_closure

constexpr make_action_closure_fn ranges::make_action_closure {}
constexpr