|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-11-29 19:55:36
"Paul Mensonides" <pmenso57_at_[hidden]> writes:
> ----- Original Message -----
> From: "David Abrahams" <dave_at_[hidden]>
>
>> How is this different from
>>
>> implicit_cast<double(&)()>(f)()
>>
>> ??
>
> It would be no different except that it would be obvious what you are doing
> and that you'd be able to enforce the function type.
Sorry, I don't think the name "ambiguity_cast" makes anything
particularly obvious ;-)
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk