Boost logo

Boost :

From: Andy Little (andy_at_[hidden])
Date: 2006-01-30 20:49:17

"Kim Barrett" wrote
> At 12:13 PM +0000 1/30/06, Andy Little wrote:
>>Getting back to the original topic (or trying to anyway ).. So is the
>>documentation I provided for implicit_cast useful?
> It is to me (the nagging OP). Thank you.
> The usage in the example you provided is quite interesting and
> instructive, and completely not a usage that had occurred to me. I
> would guess that replacing a static_cast with a less liberal
> implicit_cast would be the more common use, but perhaps that is
> sufficiently obvious that it doesn't need an example.

The merit in my example is that it is a realistic situation where I have needed
to use implicit_cast, however there is also merit in keeping things as simple as
possible so an example showing a very obvious use of implicit_cast might be
better. David Abrahams might well prefer it, as might I.

Andy Little


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