Bytemaster's Boost Libraries
Public Types | Public Member Functions | Public Attributes
boost::reflect::adapt_void< R, Functor > Struct Template Reference

Converts functors returning void to functors returning 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 boost::reflect::adapt_void< R, Functor >

Converts functors returning void to functors returning void_t .

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.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines