30 Apr
2002
30 Apr
'02
4:19 a.m.
At 11:00 AM +1200 4/30/02, sashan wrote:
Is there a better way that doesn't involve 1) having to write a wrapper class around a basic type (or any type) and 2) doesn't involve changing the shared_ptr::operator==.
Do what you would do if the shared pointer were a real pointer. Create a functor and use std::find_if(). -- Jon Kalb Kalb@LibertySoft.com