On Wednesday, 10 September 2014 at 11:39:52 UTC, Jacob Carlborg
wrote:
On 10/09/14 10:47, Robert burner Schadek wrote:
But
void fun(int l = __LINE__, A...)(A...); cannot be replaced by
void fun(A...)(A..., int l = __LINE__);
Could we modify the compiler to allow that? Just for the
special identifiers __LINE__, __FILE__ and similar. It wouldn't
be possible to specify a value for that parameter then.
This is much desired compiler enhancement in my opinion (this
template instance bloat is really bad as it impacts not only
symbol bloat but also compile times) but trying to get something
that works right here and now.