Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2007-08-14 13:55:00


On Aug 10, 2007, at 8:42 PM, shunsuke wrote:

> Hi,
>
> I hope this is the last question about result_of.
>
> I want to know the reason why result_of<F()>::type returns void by
> default
> instead of an incomplete type like
>
> template<typename F>
> struct error_this_is_not_a_nullary_function;
>
> which could make error message more readable.

See http://lists.boost.org/Archives/boost/2007/05/122004.php

        - Doug


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