GrPPI  0.3.1
Generic and Reusable Parallel Pattern Interface
Classes | Namespaces | Typedefs | Variables
common/context.h File Reference
#include <type_traits>
Include dependency graph for common/context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  grppi::context_t< ExecutionPolicy, Transformer >
 Representation of a context pattern. Represents a context that uses a given policy to run a transformer. This pattern is intended to switch between execution policies in a pattern composition. More...
 
struct  grppi::internal::is_context< T >
 
struct  grppi::internal::is_context< context_t< E, T > >
 

Namespaces

 grppi
 
 grppi::internal
 

Typedefs

template<typename T >
using grppi::requires_context = typename std::enable_if_t< is_context< T >, int >
 

Variables

template<typename T >
static constexpr bool grppi::is_context = internal::is_context<std::decay_t<T>>()