Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3536: ptr_map doesn't support incomplete type with view clone allocator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-28 01:49:38
#3536: ptr_map doesn't support incomplete type with view clone allocator
-----------------------------------+----------------------------------------
Reporter: olafvdspek@⦠| Owner: nesotto
Type: Bugs | Status: closed
Milestone: Boost 1.41.0 | Component: ptr_container
Version: Boost 1.40.0 | Severity: Problem
Resolution: invalid | Keywords:
-----------------------------------+----------------------------------------
Changes (by steven_watanabe):
* status: new => closed
* resolution: => invalid
Comment:
Check the template arguments for ptr_map.
{{{
template
<
class Key,
class T,
class Compare = std::less<Key>,
class CloneAllocator = heap_clone_allocator,
class Allocator = std::allocator< std::pair<const Key,void*>
>
>
class ptr_map;
}}}
You're passing view_clone_allocator as
Compare instead of as CloneAllocator.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3536#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:01 UTC