Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-05-04 17:01:33


The existing code:

         stored_param clone(stored_param p) const
         {
             ++*count_;
             return p;
         }

should be changed, AFAICT, to:

         stored_param clone(stored_param p) const
         {
             if(count_) ++*count_;
             return p;
         }

unless I'm missing something.


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