Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-03-09 13:57:38


Daniel James wrote:
> Pavel Vozenilek wrote:
>
>> It may be considered whether support for
>> shared_ptr etc could be added.
>
> I'm not sure what the semantics would be for shared_ptr, I think if it
> was based on the pointer this could suprise some people.

I'll add a hash_value overload for shared_ptr and weak_ptr if/when the
library is accepted. In general, it should be the responsibility of the
class author to provide the appropriate hash_value overload.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk