[Issue 495] ICE passing variadic arglist to another variadic template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 13 12:09:21 PST 2006


http://d.puremagic.com/issues/show_bug.cgi?id=495





------- Comment #1 from wbaxter at gmail.com  2006-11-13 14:09 -------
Here's another little proggie that causes the same error, this is trying to be
a global wrapper object for a signal:

import std.stdio : writefln;

import std.signals;
// junk needed by std signal that mixin can't grab for us:
import std.stdio;
import std.c.stdlib : calloc, realloc, free;
import std.outofmemory : _d_OutOfMemory;

class SigWrap(T...)
{
    mixin Signal!(T);
}

void main()
{
    SigWrap!(int) sig = new SigWrap!(int)();
}


-- 




More information about the Digitalmars-d-bugs mailing list