$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Bill Klein (bill_at_[hidden])
Date: 1999-11-09 19:17:11
Darin wrote:
>I ran into a place where I wanted to compare two shared_ptr
>objects with ==. Is there a good reason not to add an operator
>== template function for shared_ptr?
Well, what would you want it to do, compare the pointers
or the contained objects? That's a good enough reason as
far as I'm concerned. This way, you can define a global
== operator yourself to make it work as you see fit...
But maybe I'm wrong about the reasoning...
-Bill Klein <bill_at_[hidden]>