https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102257
--- Comment #3 from 康桓瑋 <hewillk at gmail dot com> --- (In reply to Andrew Pinski from comment #2) > See https://wg21.link/cwg1228 this might be invalid code and GCC is correct > in rejecting it. Maybe. But why does GCC accept the following? #include <tuple> #include <string> int main() { std::tuple<std::string, int> t{{}, {}}; } https://godbolt.org/z/ePovjh3fa