Simple implementation of __FUNCTION

Rob T rob at ucora.com
Tue Nov 6 17:58:34 PST 2012


On Tuesday, 6 November 2012 at 07:46:47 UTC, Don Clugston wrote:
>
> It fails because you're asking for the full function name, 
> before its type has been determined. (There's no real return 
> type 'auto', 'auto' just means 'work it out for me').
>

In our case, the function name that is returned is nothing but 
the function's symbol name by itself, which of course is known 
ahead of time no matter if auto is stated or not. This is why it 
seems more like a bug to me.


--rt



More information about the Digitalmars-d mailing list