[llvm-bugs] [Bug 38644] New: multimap::clear() missing exception specifier
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 20 11:10:29 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38644
Bug ID: 38644
Summary: multimap::clear() missing exception specifier
Product: libc++
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: stephen.webb at bregmasoft.ca
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
std::multimap::clear() is missing the noexcept specifier (see ISO/IEC 14882
[multimap.overview).
The following test case will raise an assertion.
#include <map>
int
main()
{
std::multimap<int, int> mymap;
static_assert(noexcept(mymap.clear()), "missing noexcept specifier");
}
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180820/b2d5edc5/attachment.html>
More information about the llvm-bugs
mailing list