Static Public Member Functions | List of all members
geo::vect::details::AccumulateImpl< Op, First, Second, Others... > Struct Template Reference

#include <geo_vectors_utils.h>

Static Public Member Functions

static auto compute (Op op, First &&a, Second &&b, Others &&...others) -> decltype(auto)
 
static auto compute (Op op, First &&a, Second &&b, Others &&...others) -> decltype(auto)
 

Detailed Description

template<typename Op, typename First, typename Second, typename... Others>
struct geo::vect::details::AccumulateImpl< Op, First, Second, Others... >

Definition at line 50 of file geo_vectors_utils.h.

Member Function Documentation

template<typename Op , typename First , typename Second , typename... Others>
static auto geo::vect::details::AccumulateImpl< Op, First, Second, Others... >::compute ( Op  op,
First &&  a,
Second &&  b,
Others &&...  others 
) -> decltype(auto)
inlinestatic

Definition at line 51 of file geo_vectors_utils.h.

53  {
54  return op(
55  a,
57  (op, std::forward<Second>(b), std::forward<Others>(others)...)
58  );
59  }
const double a
static bool * b
Definition: config.cpp:1043
template<typename Op , typename First , typename Second , typename... Others>
static auto geo::vect::details::AccumulateImpl< Op, First, Second, Others... >::compute ( Op  op,
First &&  a,
Second &&  b,
Others &&...  others 
) -> decltype(auto)
inlinestatic

Definition at line 60 of file geo_vectors_utils.h.

62  {
63  return op(
64  a,
66  (op, std::forward<Second>(b), std::forward<Others>(others)...)
67  );
68  }
const double a
static bool * b
Definition: config.cpp:1043

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