[Boost-bugs] [Boost C++ Libraries] #9064: select_on_container_copy_construction for scoped_allocator segfaults

Subject: [Boost-bugs] [Boost C++ Libraries] #9064: select_on_container_copy_construction for scoped_allocator segfaults
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-29 15:04:19


#9064: select_on_container_copy_construction for scoped_allocator segfaults
---------------------------------------------+------------------------
 Reporter: Markus Mathes <Markus.Mathes@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
  Version: Boost 1.54.0 | Severity: Regression
 Keywords: |
---------------------------------------------+------------------------
 using gcc 4.4.7 or 4.6.3 for linux the following code segfaults due to a
 problem with select_on_container_copy_construction

 {{{
 #include <memory>
 #include <boost/container/scoped_allocator.hpp>
 #include <boost/container/vector.hpp>


 int main(int argc, char* argv[]) {
    typedef boost::container::scoped_allocator_adaptor<std::allocator<int>
> Allocator;
    typedef boost::container::vector<int, Allocator> MyVector;

    MyVector test1;
    MyVector test2(test1);
 };

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9064>
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:14 UTC