Re: [Boost-bugs] [Boost C++ Libraries] #7767: lockfree queue allocation problem

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7767: lockfree queue allocation problem
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-05 15:03:57


#7767: lockfree queue allocation problem
-----------------------------------------+----------------------------------
  Reporter: pn.suzuki.kojiro@… | Owner: timblechmann
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: lockfree
   Version: Boost Development Trunk | Severity: Problem
Resolution: invalid | Keywords:
-----------------------------------------+----------------------------------

Comment (by pn.suzuki.kojiro@…):

 I don't understand yet, why can't I use the default constructor in this
 case?[[BR]]
 I thought that the default constructor should constructs empty queue with
 empty pool.

 {{{
         pool(node_allocator(), has_capacity ? capacity : 0)
 }}}

 Does this code have a problem?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7767#comment:4>
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:11 UTC