This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 51908
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: Jason Merrill <jason at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 05 Jun 2013 15:45:55 +0200
- Subject: Re: [C++ Patch] PR 51908
- References: <51AE8778 dot 8080901 at oracle dot com> <51AF34DB dot 6080200 at redhat dot com> <51AF381E dot 7030709 at oracle dot com>
.. 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.