Opened 7 years ago

Closed 7 years ago

#11790 closed Bugs (invalid)

Nvm this, it was not a boost problem

Reported by: bravimalko@… Owned by: Daniel James
Milestone: To Be Determined Component: None
Version: Severity: Cosmetic
Keywords: Cc:

Description

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

Change History (2)

comment:1 by anonymous, 7 years ago

Component: unorderedNone
Keywords: unordered_map emplace removed
Severity: ProblemCosmetic
Summary: Boost unordered_map emplace bug (C++98)Nvm this, it was not a boost problem
Version: Boost 1.59.0

comment:2 by Daniel James, 7 years ago

Resolution: invalid
Status: newclosed

Apparently not a boost problem.

Note: See TracTickets for help on using tickets.