$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jon Kalb (kalb_at_[hidden])
Date: 2002-04-29 23:19:00
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_at_[hidden]