RxCpp
The Reactive Extensions for Native (RxCpp) is a library for composing asynchronous and event-based programs using observable sequences and LINQ-style query operators in both C and C++.
Classes | Public Types | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
rxcpp::is_accumulate_function_for< T, Seed, Accumulator > Struct Template Reference

#include <rx-predef.hpp>

Classes

struct  tag_not_valid
 

Public Types

typedef rxu::decay_t< Accumulator > accumulator_type
 
typedef rxu::decay_t< Seed > seed_type
 
typedef T source_value_type
 

Static Public Member Functions

template<class CS , class CV , class CRS >
static auto check (int) -> decltype((*(CRS *) nullptr)(*(CS *) nullptr, *(CV *) nullptr))
 
template<class CS , class CV , class CRS >
static tag_not_valid check (...)
 

Public Attributes

decltype(check< seed_type, source_value_type, accumulator_type >(0)) typedef type
 

Static Public Attributes

static const bool value = std::is_same<type, seed_type>::value
 

Member Typedef Documentation

◆ accumulator_type

template<class T , class Seed , class Accumulator >
typedef rxu::decay_t<Accumulator> rxcpp::is_accumulate_function_for< T, Seed, Accumulator >::accumulator_type

◆ seed_type

template<class T , class Seed , class Accumulator >
typedef rxu::decay_t<Seed> rxcpp::is_accumulate_function_for< T, Seed, Accumulator >::seed_type

◆ source_value_type

template<class T , class Seed , class Accumulator >
typedef T rxcpp::is_accumulate_function_for< T, Seed, Accumulator >::source_value_type

Member Function Documentation

◆ check() [1/2]

template<class T , class Seed , class Accumulator >
template<class CS , class CV , class CRS >
static auto rxcpp::is_accumulate_function_for< T, Seed, Accumulator >::check ( int  ) -> decltype((*(CRS *) nullptr)(*(CS *) nullptr, *(CV *) nullptr))
static

◆ check() [2/2]

template<class T , class Seed , class Accumulator >
template<class CS , class CV , class CRS >
static tag_not_valid rxcpp::is_accumulate_function_for< T, Seed, Accumulator >::check (   ...)
static

Member Data Documentation

◆ type

template<class T , class Seed , class Accumulator >
decltype(check<seed_type, source_value_type, accumulator_type>(0)) typedef rxcpp::is_accumulate_function_for< T, Seed, Accumulator >::type

◆ value

template<class T , class Seed , class Accumulator >
const bool rxcpp::is_accumulate_function_for< T, Seed, Accumulator >::value = std::is_same<type, seed_type>::value
static

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