std.uuid: Update 3

Johannes Pfau nospam at example.com
Tue Jun 12 04:46:17 PDT 2012


Am Mon, 11 Jun 2012 13:12:49 +0200
schrieb Johannes Pfau <nospam at example.com>:

> Am Sun, 10 Jun 2012 18:49:03 +0200
> schrieb Johannes Pfau <nospam at example.com>:
> 
> > Am Sat, 09 Jun 2012 21:30:57 +0400
> > schrieb Dmitry Olshansky <dmitry.olsh at gmail.com>:
> > > Code: https://github.com/jpf91/phobos/blob/std.uuid/std/uuid.d
> > > API-Docs: http://dl.dropbox.com/u/24218791/d/src/uuid.html
> > 
> > I pushed these changes suggested by Dmitry Olshansky and Jonas
> > Drewsen:
> > 
> > * Add documentation table
> > * Rename UUID.isNil --> UUID.empty
> > * Merge ParserException and IsufficientInputException into
> >   UUIDParserException
> > * Add note about std.variant.Variant
> > * Rewrite example to avoid cast
> > * Add non-working(commented out) variadic constructor
> > * Rename extractRegex --> uuidRegex
> > * Use std.algorithm.swap instead of swapRanges
> 
> * parseUUID now supports InputRanges with ElementType == dchar (all
>   string types are still supported as well)
> 
> 

* randomUUID now creates the RNG only once per thread.
* randomUUID lazily seeds the RNG once (per thread) on the first
  function call
* randomUUID now uses the new seed overload (requires
  https://github.com/D-Programming-Language/phobos/pull/627 )
* the unsafe randomUUID overload taking only a type has been removed.



More information about the Digitalmars-d mailing list