Range-v3
Range algorithms, views, and actions for the Standard Library
 
Loading...
Searching...
No Matches
Actions

Eager, mutating, composable algorithms More...

Classes

struct  ranges::push_back_fn
 
struct  ranges::push_front_fn
 

Typedefs

template<typename Cont , typename Rng >
using ranges::insert_t
 
template<typename Cont , typename T >
using ranges::push_back_t
 
template<typename Cont , typename T >
using ranges::push_front_t
 

Functions

template<typename Cont , typename Rng >
requires lvalue_container_like<Cont> && range<Rng>
insert_t< Cont, Rng > ranges::push_back (Cont &&cont, Rng &&rng)
 
template<typename Cont , typename T >
requires lvalue_container_like<Cont> && (!range<T>) && constructible_from<range_value_t<Cont>, T>
push_back_t< Cont, T > ranges::push_back (Cont &&cont, T &&t)
 
template<typename Cont , typename Rng >
requires lvalue_container_like<Cont> && range<Rng>
insert_t< Cont, Rng > ranges::push_front (Cont &&cont, Rng &&rng)
 
template<typename Cont , typename T >
requires lvalue_container_like<Cont> && (!range<T>) && constructible_from<range_value_t<Cont>, T>
push_front_t< Cont, T > ranges::push_front (Cont &&cont, T &&t)
 

Variables

constexpr adl_erase_detail::erase_fn ranges::erase {}
 
constexpr adl_insert_detail::insert_fn ranges::insert {}
 

Detailed Description

Eager, mutating, composable algorithms

Typedef Documentation

◆ insert_t

template<typename Cont , typename Rng >
using ranges::insert_t

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

Initial value:
decltype(static_cast<void>(
ranges::insert(std::declval<Cont &>(), std::declval<sentinel_t<Cont>>(),
std::declval<Rng>())))

◆ push_back_t

template<typename Cont , typename T >
using ranges::push_back_t

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

Initial value:
decltype(static_cast<void>(
unwrap_reference(std::declval<Cont &>()).push_back(std::declval<T>())))
constexpr unwrap_reference_fn unwrap_reference
Definition reference_wrapper.hpp:171

◆ push_front_t

template<typename Cont , typename T >
using ranges::push_front_t

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

Initial value:
decltype(static_cast<void>(
unwrap_reference(std::declval<Cont &>()).push_front(std::declval<T>())))