Boost Reflect Library 0.1.0
|
Converts functors returning void to functors returning void_t . More...
#include <void.hpp>
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 |
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.
typedef R result_type |
adapt_void | ( | const Functor | _f | ) |
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.
Functor f |
Definition at line 41 of file void.hpp.
Referenced by adapt_void< R, Functor >::operator()().
© Daniel Larimer 2010-2011 - Licensed under Boost Software License, Version 1.0 | Boost Reflect Library |