Setting defaults to variadic template args
Manu
turkeyman at gmail.com
Tue Oct 2 06:15:13 PDT 2012
Is it possible?
Eg:
struct Event(T... = (int, float))
{
void F(T...); // <- should default to F(int, float)
}
Does anyone have any clever tricks that will work in this scenario? Some
magic tuple syntax?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121002/0af22903/attachment.html>
More information about the Digitalmars-d
mailing list