Boost logo

Boost Users :

Subject: Re: [Boost-users] [bind] & [function] How do I store member functions with generalised arguments for later invocation?
From: Nat Goodspeed (nat_at_[hidden])
Date: 2010-06-04 10:49:37


Steve Lorimer wrote:

> Oooh, what's perfect forwarding?

C++1x intends to solve "the forwarding problem." Though others could
give you a much clearer picture, I'm aware of two mechanisms to support
this: variadic templates, allowing you to iterate through template
arguments in a type-safe way, and a new parameter-passing mechanism that
avoids the const ref vs. non-const ref overload explosion.

I haven't played with either MSVC 10 or gcc 4.5, but I think you can
turn on support for (a subset of) C++1x features in these compilers.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net