Re: [Boost-bugs] [Boost C++ Libraries] #4544: shared_ptr seems to be mistake in unordered_set

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4544: shared_ptr seems to be mistake in unordered_set
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-17 10:05:17


#4544: shared_ptr seems to be mistake in unordered_set
--------------------------------------------+-------------------------------
  Reporter: showern <showern@…> | Owner: danieljames
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: hash
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------+-------------------------------
Changes (by danieljames):

  * owner: => danieljames
  * status: new => assigned
  * component: None => hash
  * milestone: Boost.Jam 4.0.0 => To Be Determined

Comment:

 Boost.Hash doesn't have support for `shared_ptr`, but there's a bug which
 causes it to convert them to bools (which is why it's always 1). If you
 define `BOOST_HASH_NO_IMPLICIT_CASTS` then it will correctly fail to
 compile. This will probably happen by default in Boost 1.45.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4544#comment:1>
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:04 UTC