9 Apr
2013
9 Apr
'13
8:15 p.m.
Le 09/04/13 09:24, Nathan Crookston a écrit :
Hi all,
std::reference_wrapper includes an overload of operator()[1] which allows a wrapped function object to be called without needing to first unwrap:
I think it would be valuable to update boost::ref to match the standard version. On compilers which support variadic templates and rvalue references the code is obvious. Those which support one or neither could still have overloads for some number of arguments.
+1. Please could you fill a Trac ticket? Vicente