Boost C++ Libraries: Ticket #12750: container::pmr::polymorphic_allocator compilation error https://svn.boost.org/trac10/ticket/12750 <p> 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: </p> <p> \boost\container\pmr\polymorphic_allocator.hpp(109): error C2672: 'boost::container::container_detail::dispatch_uses_allocator': no matching overloaded function found. </p> <p> copying this-&gt;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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12750 Trac 1.4.3 Sergey Korytnik <sergey.korytnik@…> Wed, 11 Jan 2017 20:54:43 GMT attachment set https://svn.boost.org/trac10/ticket/12750 https://svn.boost.org/trac10/ticket/12750 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">BoostContainerPmrCompilationError_BoostMap.cpp</span> </li> </ul> Ticket Sergey Korytnik <sergey.korytnik@…> Thu, 12 Jan 2017 07:22:49 GMT <link>https://svn.boost.org/trac10/ticket/12750#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12750#comment:1</guid> <description> <p> It is a duplicate of the previous ticket (<a class="closed ticket" href="https://svn.boost.org/trac10/ticket/12749" title="#12749: Bugs: container::pmr::polymorphic_allocator compilation error (closed: fixed)">#12749</a>). Somehow I clicked the create ticket button twice. Please remove this one. </p> </description> <category>Ticket</category> </item> <item> <author>Sergey Korytnik <sergey.korytnik@…></author> <pubDate>Thu, 12 Jan 2017 07:22:53 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12750#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12750#comment:1</guid> <description> <p> It is a duplicate of the previous ticket (<a class="closed ticket" href="https://svn.boost.org/trac10/ticket/12749" title="#12749: Bugs: container::pmr::polymorphic_allocator compilation error (closed: fixed)">#12749</a>). Somehow I clicked the create ticket button twice. Please remove this one. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Thu, 12 Jan 2017 13:37:29 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/12750#comment:2 https://svn.boost.org/trac10/ticket/12750#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/12749" title="#12749: Bugs: container::pmr::polymorphic_allocator compilation error (closed: fixed)">#12749</a> </p> Ticket