[boost] Re: boost::any: explicit constructor?
by Kevlin Henney other posts by this author
Feb 28 2004 10:19AM messages near this date
RE: [boost] Re: boost::any: explicit constructor?
|
[boost] BOOST_TRY like macros: time to add them?
In message <uznb55omh.fsf@[...].com> , David Abrahams
<dave@[...].com> writes
>
> The conversion to boost::any isn't a widening conversion in the usual
> sense, though, is it? Normally, a widening conversion preserves not
> only the information but the *interface* of the original data -- you
> wouldn't consider an implicit conversion from int to string a widening
> conversion, would you?
Your assumption is not quite correct: most widening conversions are not
interface preserving.
Kevlin
--
____________________________________________________________
Kevlin Henney phone: +44 117 942 2990
mailto:kevlin@[...].com mobile: +44 7801 073 508
http://www.curbralan.com fax: +44 870 052 2289
Curbralan: Consultancy + Training + Development + Review
____________________________________________________________
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
|