C++ function signature template parameter mangling issue

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 17 00:13:10 PST 2015


On 2/16/2015 10:54 PM, Benjamin Thaut wrote:
> 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...

Please file bugzilla!


More information about the Digitalmars-d mailing list