Library Typedefs are fundamentally broken

Jakob Ovrum via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 18 21:44:06 PDT 2014


On Wednesday, 17 September 2014 at 16:32:04 UTC, Dicebot wrote:
> On Wednesday, 17 September 2014 at 10:00:31 UTC, Jack Applegame 
> wrote:
>> You can use module name and line number as unique tag.
>
> This is exactly what I would have expected as default 
> behaviour. Is anyone aware why this counter appoach was used 
> instead?

It's a deceivingly bad default. See the comments in the PR that 
introduced Typedef[1].

[1] https://github.com/D-Programming-Language/phobos/pull/300


More information about the Digitalmars-d mailing list