Interface Documentation
Version: invalid
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
flecsi::ctrl_impl::cycle< Predicate, ControlPoints > Struct Template Reference

#include <point_walker.hh>

Classes

struct  recurse
 
struct  recurse< E, cycle< P, CPs... > >
 
struct  recurse< E, util::constant< Value > >
 

Public Types

using type = std::tuple< ControlPoints... >
 

Static Public Member Functions

static bool predicate ()
 

Static Public Attributes

static constexpr size_t last = std::tuple_size<type>::value - 1
 
static constexpr auto & begin
 
static constexpr auto & end
 

Detailed Description

template<bool(*)() Predicate, typename... ControlPoints>
struct flecsi::ctrl_impl::cycle< Predicate, ControlPoints >

Allow users to define cyclic control points. Cycles can be nested.

Template Parameters
PredicateA predicate function that determines when the cycle should end.
ControlPointsA variadic list of control points within the cycle.

Member Data Documentation

◆ begin

template<bool(*)() Predicate, typename... ControlPoints>
constexpr auto& flecsi::ctrl_impl::cycle< Predicate, ControlPoints >::begin
static

◆ end

template<bool(*)() Predicate, typename... ControlPoints>
constexpr auto& flecsi::ctrl_impl::cycle< Predicate, ControlPoints >::end
static

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