Boost logo

Boost Users :

From: Alexander Gutenev (gutenev_at_[hidden])
Date: 2008-07-30 17:57:17


Compared to mine, better sides:
1. All in single class (I have now joined them too).
2. Assignment operator returns correct reference.
3. typedef made code cleaner.
Worse sides:
1. No thread safety (may be you do not need it, but i need).
2. No const awareness, i think the following will fail:
  boost::intrusive_ptr<const test> p(new test);
  boost::intrusive_ptr<const test> q(new test);
  p = q;
3.m_reference_count is visible to derived classes.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net