sparrow 1.4.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
Loading...
Searching...
No Matches
sparrow::ranges Namespace Reference

Classes

struct  copy_fn
 Copies the elements from the input range to the output iterator. More...
 

Concepts

concept  has_ranges_copy
 

Functions

template<std::ranges::input_range R, std::weakly_incrementable O>
requires std::indirectly_copyable<std::ranges::iterator_t<R>, O>
constexpr std::ranges::copy_result< std::ranges::borrowed_iterator_t< R >, O > copy (R &&r, O result)
 
template<std::ranges::input_range R, class T>
constexpr T accumulate (R &&r, T init)
 
template<std::ranges::input_range R, class T, std::copy_constructible Op>
constexpr T accumulate (R &&r, T init, Op op)
 

Function Documentation

◆ accumulate() [1/2]

template<std::ranges::input_range R, class T>
T sparrow::ranges::accumulate ( R && r,
T init )
constexpr

Definition at line 133 of file ranges.hpp.

◆ accumulate() [2/2]

template<std::ranges::input_range R, class T, std::copy_constructible Op>
T sparrow::ranges::accumulate ( R && r,
T init,
Op op )
constexpr

Definition at line 139 of file ranges.hpp.

◆ copy()

template<std::ranges::input_range R, std::weakly_incrementable O>
requires std::indirectly_copyable<std::ranges::iterator_t<R>, O>
std::ranges::copy_result< std::ranges::borrowed_iterator_t< R >, O > sparrow::ranges::copy ( R && r,
O result )
constexpr
Examples
/home/runner/work/sparrow/sparrow/include/sparrow/arrow_interface/arrow_array_schema_proxy.hpp, and /home/runner/work/sparrow/sparrow/include/sparrow/variable_size_binary_view_array.hpp.

Definition at line 120 of file ranges.hpp.

Here is the caller graph for this function: