A request for an easier way to pass a storage class to a template

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Oct 24 20:08:47 PDT 2011


Let me backtrack that real fast, my workaround doesn't even work:

class Foo
{
    Signal!( (ref int){} ) x;
}

void main()
{}

Error: delegate test.Foo.__dgliteral1 function literals cannot be class members

Well now I'm really desperate. :/


More information about the Digitalmars-d mailing list