DIP10005: Dependency-Carrying Declarations is now available for community feedback

Andrej Mitrovic via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 14 16:45:30 PST 2016


On Thursday, 15 December 2016 at 00:44:02 UTC, Andrej Mitrovic 
wrote:
> On Wednesday, 14 December 2016 at 23:38:19 UTC, Timon Gehr 
> wrote:
>> On 15.12.2016 00:17, Andrej Mitrovic wrote:
>>>
>>> ubyte[] readSomeBytes ( )
>>> {
>>>     return read(1024);
>>> }
>>>
>>> It's a non-trivial exercise for the reader to understand 
>>> where the
>>> `read` symbol is coming from.
>>
>> pragma(msg,fullyQualifiedName!read);
>
> Right, which requires building!

Also, this wouldn't work with overloads would it? :)


More information about the Digitalmars-d mailing list