[Bug libstdc++/102270] New: std::tuple<>::swap missing constexpr specifier
hewillk at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Sep 10 08:10:23 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270
Bug ID: 102270
Summary: std::tuple<>::swap missing constexpr specifier
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: hewillk at gmail dot com
Target Milestone: ---
#include <tuple>
constexpr bool b = [] {
std::tuple<> x, y;
x.swap(y);
return true;
}();
https://godbolt.org/z/Gac17hjen
More information about the Gcc-bugs
mailing list