https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81349

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler@googlemail.
                   |                            |com

--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
The suggested code contains several typos, here a corrected version:

#include <type_traits>

struct S {
    template <typename T>
    S(T) = delete;
};

int main() {
    static_assert(std::is_aggregate_v<S>);
}

Reply via email to