Hi
Why does the operator == function in the shared_ptr class compare the pointer values and not what they are pointing to?
I'm trying to use the find function (in the stl) and I don't know how to get around this. Here's an example.
vector
Hi
Why does the operator == function in the shared_ptr class compare the pointer values and not what they are pointing to?
I'm trying to use the find function (in the stl) and I don't know how to get around this. Here's an example.
vector