On 7 February 2015 at 00:05, Jonathan Wakely wrote:
> This question would have been more appropriate on the gcc-help mailing list.
I should have said it *was* more appropriate on that list, and should
have remained there. You could have pinged the gcc-help list, or just
been patient, before sendin
On 6 February 2015 at 12:12, Victor wrote:
>
>
>
> --- the forwarded message follows ---
>
>
> -- Forwarded message --
> From: Victor
> To: gcc-h...@gcc.gnu.org
> Cc:
> Date: Wed, 04 Feb 2015 15:41:56 +0600
> Subject: Vararg template
--- the forwarded message follows ---
--- Begin Message ---
Code:
#include
#include
template
void f(std::tuple )
{
std::cout << "std::tuple\n";
}
template
void f(std::tuple )
{
std::cout << "std::tuple\n";
}
int main()
{
f(std::tuple{});
}
GCC accepts this code silently. But