Re: [Boost-bugs] [Boost C++ Libraries] #7100: unorderd_set<shared_ptr<T> > > - insert does not increment count

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7100: unorderd_set<shared_ptr<T> > > - insert does not increment count
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-08 11:55:59


#7100: unorderd_set<shared_ptr<T> > > - insert does not increment count
------------------------------------------------+---------------------------
  Reporter: Rich Eakin <reakinator@…> | Owner: danieljames
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: unordered
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords: unordered_set shared_ptr
------------------------------------------------+---------------------------

Comment (by danieljames):

 (In [79358]) Unordered: Fix using a C++03 allocator with C++11 compiler.

 Because the nodes had an implicit constructor, the `has_construct` traits
 was
 detecting that the nodes could be constructed by construction then copy,
 which
 really wasn't wanted. Also add a check that nodes aren't been copy
 constructed
 to make sure this doesn't happen again. Refs #7100.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7100#comment:2>
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:10 UTC