
Manjunath Kudlur schrieb:
On Fri, May 7, 2010 at 12:09 PM, Eric Niebler
wrote: On 5/7/2010 11:26 AM, Manjunath Kudlur wrote:
That would work, except that I would need 2^n versions for operator() taking 'n' arguments. (Yay! I discovered the perfect forwarding problem all by myself :-/).
Yep, congrats.
BTW, can you give a heads-up on how this is going to be solved in Phoenix3?
It might help you. If you take a look in the proto example folder, you will find the file lambda.hpp. There the 2^n operators overloads are created using preprocessor meta programming. Very cool. -Kim
-- Manjunath http://nonchalantlytyped.net/blog/musings/ _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users