MACE  1.0.0
 All Classes Namespaces Files Functions Variables Enumerations Defines
Public Types | Public Member Functions | Public Attributes
mace::stub::adapt_void< R, Functor > Struct Template Reference

Converts functors returning void to functors returning mace::stub::void_t. More...

#include <void.hpp>

List of all members.

Public Types

typedef R result_type

Public Member Functions

 adapt_void (const Functor _f)
template<typename Seq >
result_type operator() (const Seq &seq) const
template<typename Seq >
result_type operator() (Seq &seq) const

Public Attributes

Functor f

Detailed Description

template<typename R, typename Functor = int>
struct mace::stub::adapt_void< R, Functor >

Generic code that deals with functions returning void is a special case that requires many work arounds. This class adapts a void(FusionSeq) functor into a void_t(FusionSeq) functor.

Definition at line 28 of file void.hpp.


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