
17 Oct
2010
17 Oct
'10
3:32 a.m.
On Oct 16, 2010, at 8:37 PM, Eric Niebler <eric@boostpro.com> wrote:
n 10/16/2010 4:41 PM, Mathias Gaunard wrote:
I thought V2 doesn't follow the result_of protocol,
True.
and didn't do perfect forwarding either.
I don't think v3 will do perfect forwarding either. At least not with C++03. It's just too expensive at compile time.
You could approximate it for up to 3-5 arguments. But you can't actually do it perfectly in C++03 even for 1 argument because you will erase rvalue-ness no matter what. -- BoostPro Computing * http://boostpro.com [Sent from coveted but awkward mobile device]