Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-11-10 16:33:26

On Nov 10, 2004, at 2:40 PM, Peter Dimov wrote:

> Doug Gregor wrote:
>> On Nov 10, 2004, at 11:17 AM, Peter Dimov wrote:
>>> How about putting result_of in boost and looking at the regression
>>> tests as a first step?
>> result_of is doing quite nicely already, thank you :)
>> utility.html
> Umm... I must have missed it. OK, if result_of works, what doesn't?

Just from skimming the source:

        - References to member pointers don't work (easy to fix)
        - If we're to support some broken compilers, we'll need a workaround
when result_of<...>::type returns void (these compilers might not
support result_of anyway, so it may not matter)
        - reference_wrapper_without_result_type needs a "void operator()()
const { return get(); }"
        - reference_wrapper_without_result_type needs to have the right
"result" typedef (not "result_of"; easy fix).

I could have written the fixes for those in less time than it took me
to write out that list :) I'll try to get the sandbox version fixed,
documented, and into the Boost trunk in the next few days.


Boost list run by bdawes at, gregod at, cpdaniel at, john at