GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Classes | Namespaces | Typedefs | Functions
polymorphic_execution.h File Reference
#include "../seq/sequential_execution.h"
#include "../native/parallel_execution_native.h"
#include "../tbb/parallel_execution_tbb.h"
#include "../omp/parallel_execution_omp.h"
#include <typeinfo>
#include <memory>
Include dependency graph for polymorphic_execution.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  grppi::polymorphic_execution
 

Namespaces

 grppi
 

Typedefs

template<typename E >
using grppi::requires_execution_policy = std::enable_if_t< is_execution_policy< E >(), int >
 Simulate concept requirement for being an execution policy. More...
 
template<typename E >
using grppi::requires_not_execution_policy = std::enable_if_t<!is_execution_policy< E >(), int >
 Simulate concept requirement for not being an execution policy. More...
 

Functions

template<typename E >
constexpr bool grppi::is_execution_policy ()
 Meta-function to determine if a type is an execution policy. More...
 
template<typename E >
polymorphic_execution grppi::make_polymorphic_execution ()