Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-01-31 18:00:34


On Thursday 31 January 2002 02:38 pm, you wrote:
> On Thursday 31 January 2002 01:12 pm, you wrote:
> > However, this does bring up a documentation issue with Function. The
> > docs claim that the first template argument to function<> is typedef'ed
> > as the result_type, which is true for every type except void...
>
> I'm looking into this. I'll either make it true for void or document it
> properly.

This is now implemented and checked into CVS. function<R, ...> will have a
return type R, always, and detail::function::unusable will never darken a
user's doorstep again.

        Doug


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