https://llvm.org/bugs/show_bug.cgi?id=27394
Bug ID: 27394 Summary: Tests for Container::insert(value_type const&) often pass value_type&&. Product: libc++ Version: unspecified Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: unassignedclangb...@nondot.org Reporter: e...@efcs.ca CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com Classification: Unclassified The tests for many containers insert(value_type const&) method actually call insert like "insert(value_type(x, y))" meaning they are testing the rvalue overload instead. I've fixed the tests for insert in map and multimap, and partially fixed the tests for unordered_map. The remaining container tests need to be audited to find this bug. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs