Subject: [Boost-bugs] [Boost C++ Libraries] #11790: Boost unordered_map emplace bug (C++98)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-11 13:43:06
#11790: Boost unordered_map emplace bug (C++98)
------------------------------------+-------------------------
Reporter: bravimalko@⦠| Owner: danieljames
Type: Bugs | Status: new
Milestone: To Be Determined | Component: unordered
Version: Boost 1.59.0 | Severity: Problem
Keywords: unordered_map, emplace |
------------------------------------+-------------------------
There is an overload of emplace (boost/unordered/unordered_map.hpp:350)
that is supposed to take the constructor arguments for the key and value
objects to be emplaced, which is the one that should be used in place of
the overload with variadic template when compiling in C++98.
The test program attached tries to make use of said overload but it fails
to compile.
I compiled with g++ 4.4.7 and clang 3.4 on Red Hat 4.4.7-11 using Boost
1.59.
http://www.boost.org/doc/libs/1_59_0/boost/unordered/unordered_map.hpp
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11790> 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:19 UTC