Improve Ptr<T>::operator== (Feature #2637)
Description
Tolya,
There are a couple of remarks regarding your pull request. It would be great if you could fix them in near future:- Symmetrical != operator is needed.
- Comparison with 0 is broken, but it would be nice to have it.
- It is possible that comparison of refcounts is not the best choice. In Boost it is implemented differently, you can contact Andrey K. for more details.
Associated revisions
Smart operators for smart Ptr (feature #2637)
History
Updated by Anatoly Baksheev about 12 years ago
1. Added
2. Disagree
3. No difference
Updated by Andrey Kamaev about 12 years ago
- Status changed from Open to Done