Subject: [Boost-bugs] [Boost C++ Libraries] #12749: container::pmr::polymorphic_allocator compilation error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-11 20:49:57
#12749: container::pmr::polymorphic_allocator compilation error
-------------------------------------------------+------------------------
Reporter: Sergey Korytnik <sergey.korytnik@â¦> | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
Version: Boost 1.63.0 | Severity: Problem
Keywords: polymorphic_allocator pmr |
-------------------------------------------------+------------------------
Compilation of minimal code using container::pmr::polymorphic_allocator
with
std::map or boost::container::map or std::unordered_map results in
compiler error
on VC++2015U3, Apple clang and g++6.2:
\boost\container\pmr\polymorphic_allocator.hpp(109): error C2672:
'boost::container::container_detail::dispatch_uses_allocator': no matching
overloaded function found.
copying this->resource() into a local variable and passing the variable to
container_detail::dispatch_uses_allocator resolves the problem for
std::map and std::unordered_map cases, but the error remains with
boost::container::map.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12749> 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:20 UTC