-
Bug
-
Resolution: Unresolved
-
Medium
-
Code Generation Tools
-
CODEGEN-3954
-
Problem with std::swap and <tuple>. A cutdown test case is:
#include <tuple>
struct S00{
S00() = default;
S00(const S00&) noexcept {}
S00(const S00&&) noexcept {}
S00& operator=(const S00&&) noexcept
} s00;
typedef std::tuple<S00> T00;
T00 t100(s00), t200(s00);
const bool b00 = noexcept(t100.swap(t200));
template void std::swap<S00>(T00&, T00&) noexcept(noexcept(t100.swap(t200)));
This seems to be a parser bug.