Boost logo

Boost :

From: Kevlin Henney (kevlin_at_[hidden])
Date: 2004-02-28 05:19:05

In message <uznb55omh.fsf_at_[hidden]>, David Abrahams
<dave_at_[hidden]> 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 Henney                   phone:  +44 117 942 2990
   mailto:kevlin_at_[hidden]     mobile: +44 7801 073 508        fax:    +44 870 052 2289
   Curbralan: Consultancy + Training + Development + Review

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