Boost Reflect Library 0.1.0
Public Types | Public Member Functions | Public Attributes
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.

Definition at line 28 of file void.hpp.


Member Typedef Documentation

typedef R result_type

Definition at line 29 of file void.hpp.


Constructor & Destructor Documentation

adapt_void ( const Functor  _f)

Definition at line 31 of file void.hpp.


Member Function Documentation

result_type operator() ( const Seq &  seq) const

Definition at line 34 of file void.hpp.

References adapt_void< R, Functor >::f.

result_type operator() ( Seq &  seq) const

Definition at line 38 of file void.hpp.

References adapt_void< R, Functor >::f.


Member Data Documentation

Functor f

Definition at line 41 of file void.hpp.

Referenced by adapt_void< R, Functor >::operator()().


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

© Daniel Larimer 2010-2011 - Licensed under Boost Software License, Version 1.0 Boost Reflect Library