What is this strange alias syntax?

David Nadlinger see at klickverbot.at
Sun May 22 23:43:16 PDT 2011


On 5/23/11 8:41 AM, Andrej Mitrovic wrote:
> On 5/22/11, Timon Gehr<timon.gehr at gmx.ch>  wrote:
>> The problem is, that currently there is no other
>> I do not get why anybody would want to remove the possibility to refer to
>> function
>> signatures.
>
> What's wrong with using this:
>
> alias void function(int, int) funcAlias;

It's a function pointer type, not a function type.

David


More information about the Digitalmars-d-learn mailing list