From: Bill Klein (bill_at_[hidden])
Date: 1999-11-09 19:17:11
>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]>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk