Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-03-17 21:57:16


on 3/17/00 5:17 PM, Miki Jovanovic at miki_at_[hidden] wrote:

> Hi all,
>
> Some time ago, somebody raised the issue about implicit casts. And I
> liked the idea very much. But since then the conversation died out and
> nothing happened.
>
> The idea was that the implicit casts like:
>
> operator T*() const throw() { return ptr; }
>
> be replaced with:
>
> operator void*() const throw() { return ptr; }

Actually the suggestion was to use this:

operator const void*() const throw() { return ptr; }

-Dave


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