Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2000-09-07 05:53:57


> > 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++.

Is there anything we can do about getting typeof() in the language? In the
de facto standard, at least.

--
Peter Dimov
Multi Media Ltd.

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