http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58265
Bug ID: 58265
Summary: std::string move assignment should be noexcept
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
According to http://www.cplusplus.com/reference/string/string/operator=/,
the std::string move assignment operator should be noexcept.
#include <string>
static_assert (std::is_nothrow_move_assignable <std::string>::value, "failed");