Improve Ptr<T>::operator== (Feature #2637)


Added by Kirill Kornyakov about 12 years ago. Updated about 12 years ago.


Status:Done Start date:2012-12-17
Priority:Normal Due date:
Assignee:Anatoly Baksheev % Done:

0%

Category:core
Target version:3.0
Difficulty: Pull request:

Description

Tolya,

There are a couple of remarks regarding your pull request. It would be great if you could fix them in near future:
  1. Symmetrical != operator is needed.
  2. Comparison with 0 is broken, but it would be nice to have it.
  3. 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

Revision a09b973c
Added by Anatoly Baksheev about 12 years ago

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

Also available in: Atom PDF