A callable PolymorphicFunctionObject that is equivalent to the as_child()
function.
More...
#include <traits.hpp>
Classes | |
struct | result |
struct | result< This(T &)> |
struct | result< This(T)> |
Public Member Functions | |
template<typename T > | |
BOOST_FORCEINLINE add_const < typename result< as_child(T &)> ::type >::type | operator() (T &t) const |
Wrap an object in a Proto terminal if it isn't a Proto expression already. More... | |
template<typename T > | |
BOOST_FORCEINLINE add_const < typename result< as_child(T const &)>::type >::type | operator() (T const &t) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
A callable PolymorphicFunctionObject that is equivalent to the as_child()
function.
|
inline |
Wrap an object in a Proto terminal if it isn't a Proto expression already.
t | The object to wrap. |
proto::as_child<Domain>(t)
References template.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References template.