Opened 11 years ago

Closed 11 years ago

#6087 closed Bugs (fixed)

boost::hash<boost::intrusive_ptr<T> > returns only two value like old version of shared_ptr

Reported by: Koh Ohnishi <k_onishi@…> Owned by: Peter Dimov
Milestone: To Be Determined Component: smart_ptr
Version: Boost 1.47.0 Severity: Problem
Keywords: hash_value, intrusive_ptr Cc:

Description

Likewise the bug reported #5216, boost::hash<boost::intrusive_ptr<T>> also returns only two value. hash_value for boost::intrusive_ptr is required like shared_ptr.

Change History (4)

comment:1 by Koh Ohnishi <k_onishi@…>, 11 years ago

Type: BugsFeature Requests

comment:2 by Peter Dimov, 11 years ago

(In [75392]) Add hash_value for intrusive_ptr. Refs #6087.

comment:3 by Peter Dimov, 11 years ago

Status: newassigned
Type: Feature RequestsBugs

comment:4 by Peter Dimov, 11 years ago

Resolution: fixed
Status: assignedclosed

(In [75756]) Merge [75392] to release. Fixes #6087.

Note: See TracTickets for help on using tickets.