
28 Apr
2005
28 Apr
'05
7:42 p.m.
Thorsten Ottosen wrote:
"Peter Dimov" <pdimov@mmltd.net> wrote in message news:011801c54c25$f9f3c2d0$6401a8c0@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.