Vote for std.uuid
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Jun 27 05:53:18 PDT 2012
On 6/24/12 9:40 AM, Jonathan M Davis wrote:
> On Sunday, June 24, 2012 15:30:15 David Nadlinger wrote:
>> There is a serious @safe-ty issue with the current
>> implementation: randomUUID/parseUUID are marked @trusted, but
>> take an arbitrary range as template parameter, the methods of
>> which might be @system.
>
> Nice catch. I failed to notice that and should have. @trusted on templated
> functions is generally wrong.
Yah, inferred qualifiers need generally not be specified with templates
unless explicitly meant to restrict code.
Andrei
More information about the Digitalmars-d
mailing list