Boost logo

Boost :

From: Matt Calabrese (rivorus_at_[hidden])
Date: 2006-07-10 14:14:14


On 7/10/06, Peter Dimov <pdimov_at_[hidden]> wrote:
>
> Instantiating the definition of result_of<Type> causes the instantiation
> of
> the declarations of its members, so this would imply that when its nested
> type member is ill-formed, the definition of result_of<> cannot be
> instantiated.
>

Yes, that's not what I'm asking. What I'm asking is should I have a nested
type at all in the case of ambiguity? This would make accessing result_of<
Type >::type ill-formed, however, it keeps result_of< Type > instantiable.

-- 
-Matt Calabrese

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