This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch] PR 51908


.. true that my first try didn't fix this non-variadic variant, because we have a declarator and again we hit the commit:

struct foo
{
  template <typename Ret, typename Args>
  operator decltype(static_cast<Ret(*)(Args args)>(0)) () const;
};

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]