Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2000-09-06 10:43:24


----- Original Message -----
From: "Thomas Holenstein" <tholenst_at_[hidden]>
> The result is completely deducable by the compiler, at least
> in theory. Its just the return type of operator+(Arg1, Arg2).
> (Am I wrong here? -- i.e. can you have two different operator+?).
>
> However, I don't see how to implement this. :-(

Nobody does ;-). That's the classic "typeof()" problem, and one reason that
it's hard to write lambda expressions in C++.

-Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk