We need something like source_location in D
Stefan Koch
uplink.coder at googlemail.com
Thu Sep 26 06:34:33 UTC 2019
On Wednesday, 25 September 2019 at 07:16:21 UTC, FeepingCreature
wrote:
> On Tuesday, 24 September 2019 at 15:15:22 UTC, Stefan Koch
> wrote:
>> On Tuesday, 24 September 2019 at 11:32:03 UTC, Jacob Carlborg
>> wrote:
>>> On Tuesday, 24 September 2019 at 10:36:53 UTC, guy hebert
>>> wrote:
>>>
>>>> Have you got the solution.
>>>
>>> A __traits has been implemented:
>>> https://dlang.org/changelog/2.088.0.html#getloc
>>>
>>> --
>>> /Jacob Carlborg
>>
>> Does that solve the issue?
>> can it stand in for the caller location?
>
> No - how would you get the caller symbol? It's completely
> useless for this purpose
Sigh. I expected as much.
Let's get a proper built-in location struct please.
More information about the Digitalmars-d
mailing list