|
Boost Users : |
Subject: Re: [Boost-users] [shared_ptr] Using a custom delete function that is a class member function
From: Ryan McConnehey (mccorywork_at_[hidden])
Date: 2009-10-09 19:45:41
Steven Watanabe wrote:
> Check you parentheses. The two uses of bind/mem_fun are not the same.
Sorry, the line should read as follows.
*itor = bus(new unsigned short(startValue++),
boost::bind(boost::mem_fun(&CTNGenerator::makeCTNAvailable), this));
Ryan
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