[Boost-bugs] [Boost C++ Libraries] #5216: boost::hash<boost::shared_ptr<T>> Returns Only Two Values

Subject: [Boost-bugs] [Boost C++ Libraries] #5216: boost::hash<boost::shared_ptr<T>> Returns Only Two Values
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-23 12:00:47


#5216: boost::hash<boost::shared_ptr<T>> Returns Only Two Values
--------------------------------------------------+-------------------------
 Reporter: Rob Stewart <robert.stewart@…> | Owner: pdimov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: shared_ptr hash |
--------------------------------------------------+-------------------------
 The attached program demonstrates that a null shared_ptr<int> produces a
 hash value of zero and that (ostensibly) all non-null instances produce a
 hash value of one.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5216>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC