Why Clang and MSVC do not like a member typedef declaration with redundant parens?

后端 未结 0 980
名媛妹妹
名媛妹妹 2020-12-05 21:21

Consider

using foo = int;

struct A {
    typedef A (foo)();
};

GCC and ICC accept the snippet, while Clang and MSVC reject it. Clang\'s erro

相关标签:
回答
  • 消灭零回复
提交回复
热议问题