// PR libstdc++/116440 - std::tuple> does not compile // { dg-do compile { target c++17 } } #include #include #include template using TupleTuple = std::tuple>; struct EmbedAny { std::any content; }; static_assert(std::is_copy_constructible>::value); static_assert(std::is_move_constructible>::value); static_assert(std::is_copy_constructible>::value); static_assert(std::is_move_constructible>::value); static_assert(std::is_constructible_v>); struct EmbedAnyWithZeroSizeArray { void* pad[0]; std::any content; }; static_assert(std::is_copy_constructible>::value); static_assert(std::is_move_constructible>::value);