A unary CallableTransform that wraps its argument in a boost::reference_wrapper<>
.
More...
#include <arg.hpp>
Classes | |
struct | result |
struct | result< This(T &)> |
struct | result< This(T)> |
Public Types | |
typedef void | proto_is_callable_ |
Public Member Functions | |
template<typename T > | |
boost::reference_wrapper< T > const | operator() (T &t) const |
Wrap the parameter t in a boost::reference_wrapper<> More... | |
template<typename T > | |
boost::reference_wrapper< T const > const | 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 unary CallableTransform that wraps its argument in a boost::reference_wrapper<>
.
Example:
|
inherited |
|
inline |
Wrap the parameter t
in a boost::reference_wrapper<>
t | The object to wrap |
boost::ref(t)
nothrow |
References boost::flyweights::t.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References boost::flyweights::t.