C++ function signature template parameter mangling issue

Benjamin Thaut via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 16 22:54:59 PST 2015


Am 17.02.2015 um 02:21 schrieb Daniel Murphy:
>
> struct X(T) { pragma(msg, X.stringof); }
>
> void main()
> {
>     X!(typeof(*(void function()).init)) x;
> }
>

Error: ICE: Unsupported type void()

So close...


More information about the Digitalmars-d mailing list