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++.
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
rxcpp::is_operator_factory_for< Source, Function > Struct Template Reference

#include <rx-predef.hpp>

Public Types

using function_type = rxu::decay_t< Function >
 
using source_type = rxu::decay_t< Source >
 
using type = decltype(check< function_type, source_type >(0))
 

Static Public Member Functions

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

Static Public Attributes

static const bool value = !std::is_same<type, tag_not_valid>::value && is_observable<source_type>::value
 

Member Typedef Documentation

template<class Source , class Function >
using rxcpp::is_operator_factory_for< Source, Function >::function_type = rxu::decay_t<Function>
template<class Source , class Function >
using rxcpp::is_operator_factory_for< Source, Function >::source_type = rxu::decay_t<Source>
template<class Source , class Function >
using rxcpp::is_operator_factory_for< Source, Function >::type = decltype(check<function_type, source_type>(0))

Member Function Documentation

template<class Source , class Function >
template<class CS , class CO >
static auto rxcpp::is_operator_factory_for< Source, Function >::check ( int  ) -> decltype((*(CS *) nullptr)((*(CO *) nullptr)))
static
template<class Source , class Function >
template<class CS , class CO >
static tag_not_valid rxcpp::is_operator_factory_for< Source, Function >::check (   ...)
static

Member Data Documentation

template<class Source , class Function >
const bool rxcpp::is_operator_factory_for< Source, Function >::value = !std::is_same<type, tag_not_valid>::value && is_observable<source_type>::value
static

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