Simple implementation of __FUNCTION
Damian
damianday at hotmail.co.uk
Sun Nov 4 05:57:05 PST 2012
On Saturday, 3 November 2012 at 17:04:31 UTC, Rob T wrote:
> On Saturday, 3 November 2012 at 11:09:48 UTC, Jacob Carlborg
> wrote:
>>
>> I think it would be worth to but in Phobos anyway.
>
> I suppose it works as a temp solution until a real one is
> finally implemented, or maybe the mixin behaviour is considered
> a bug and can be fixed?
I think __FUNCTION__ should be built into the compiler, with it's
brothers __FILE__ and __LINE__ . This kinda thing is so useful
while debugging and logging :)
More information about the Digitalmars-d
mailing list