Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-04-28 14:42:03


Thorsten Ottosen wrote:
> "Peter Dimov" <pdimov_at_[hidden]> wrote in message
> news:011801c54c25$f9f3c2d0$6401a8c0_at_pdimov2...
>> It's just the shared_ptr equivalent of:
>>
>> template<class T, class U>
>> bool operator==(T * const & a, U * const & b);
>
> it's unreasable to requrie the state of T and U to be avaiable through
> non-const member functions.

The state of T and U doesn't participate in a pointer comparison. T may be
void, for one thing.


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