CbmRoot
Loading...
Searching...
No Matches
AlgoTraits.h File Reference

Type traits for online algorithms. More...

#include <tuple>
#include <type_traits>
Include dependency graph for AlgoTraits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cbm::algo::algo_traits::detail::ResultOf<... >
 
struct  cbm::algo::algo_traits::detail::ResultOf< R(Algo::*)(Args...) const >
 
struct  cbm::algo::algo_traits::detail::ResultOf< R(Algo::*)(Args...)>
 
struct  cbm::algo::algo_traits::detail::ResultOf< Algo >
 

Namespaces

namespace  cbm
 
namespace  cbm::algo
 
namespace  cbm::algo::algo_traits
 
namespace  cbm::algo::algo_traits::detail
 

Typedefs

template<typename Algo >
using cbm::algo::algo_traits::ResultOf_t = typename detail::ResultOf<Algo>::type
 Type alias for the return type produced by an algorithm when invoked via callable-operator.
 
template<typename Algo >
using cbm::algo::algo_traits::Output_t = typename std::tuple_element<0, ResultOf_t<Algo>>::type
 Type alias for the output type produced by an algorithm.
 
template<typename Algo >
using cbm::algo::algo_traits::Monitor_t = typename std::tuple_element<1, ResultOf_t<Algo>>::type
 Type alias for the monitoring type produced by an algorithm.
 
template<typename Algo >
using cbm::algo::algo_traits::Aux_t = typename std::tuple_element<2, ResultOf_t<Algo>>::type
 Type alias for the auxiliary data type produced by an algorithm.
 

Detailed Description

Type traits for online algorithms.

Definition in file AlgoTraits.h.