http://dpaste.dzfl.pl/cdabf9fa
But adding one more parameter gives an error!
http://dpaste.dzfl.pl/a5cfac37
Template has no effect simply because I added an parameter with a
default?!?!?!?
On Tuesday, 30 July 2013 at 22:22:38 UTC, JS wrote:
But adding one more parameter gives an error!
http://dpaste.dzfl.pl/a5cfac37
Copying the code for readability and for future generations:
template SomeName(T...)
{
void SomeName(string file = __FILE__, string line = __LINE__,
string f =
On Tuesday, 30 July 2013 at 22:22:38 UTC, JS wrote:
http://dpaste.dzfl.pl/cdabf9fa
But adding one more parameter gives an error!
http://dpaste.dzfl.pl/a5cfac37
Template has no effect simply because I added an parameter with
a default?!?!?!?
Definitely some compiler logic problems there