|
Boost : |
Subject: Re: [boost] [reference_wrapper] Overloading operator() in reference_wrapper
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-04-09 16:15:29
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk