std.array.array broken?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Feb 1 17:03:25 PST 2014


On 2/1/14, 3:07 PM, Andrej Mitrovic wrote:
> In reference to this thread:
> http://forum.dlang.org/thread/ouyuujnzzvfkvxbfzyak@forum.dlang.org#post-ouyuujnzzvfkvxbfzyak:40forum.dlang.org
>
>
> Personally I think it was a mistake providing unsafe APIs by default. If
> I would have had it my way, I would introduce:
>
> byLine -> safe, doesn't reuse a buffer
> byLineBuffer -> reuses a buffer

No. Too much breakage.

Andrei



More information about the Digitalmars-d mailing list