std.uuid is ready for review

bls bizprac at
Tue Feb 7 06:54:49 PST 2012

On 02/02/2012 01:26 PM, Johannes Pfau wrote:
> Hi,
> std.uuid is ready to be reviewed. As far as I know there's nothing
> being reviewed right now, so we could start the review as soon as
> a review manager has been found.
> About std.uuid (copied from the module documentation):
> ---------------------
> This is a port of boost.uuid from the boost project with some minor
> additions and API changes for a more D-like API. A UUID, or Universally
> unique identifier, is intended to uniquely identify information in a
> distributed environment without significant central coordination. It
> can be used to tag objects with very short lifetimes, or to reliably
> identify very persistent objects across a network. UUIDs have many
> applications. [...]
> ---------------------
> Code:
> API-Docs:
> Note: The code and documentation for shaUUID has already been written,
> but until phobos has support for SHA1, that can't be included. The code
> is currently commented out in the source file (it's well tested
> with some 3rd party SHA1 code), but the documentation for those
> functions is included in the API-docs. I think those functions should
> be reviewed as well, so that it's possible to add them to phobos with a
> simple pull request at a later date.
> Note2: std.uuid also need this pull request:
> It adds a isRandomNumberGenerator template to detect if a template
> parameter is a random-number generator type.

Vote + (yes, works fine)

I want it and I need it. A Databases Access Layer (may it be a full 
blown  ORM  or even "just" a (D)ata (A)ccess (L)ayer ) depends on having 
unique IDs. ?

A convenience wish : string OID = GetUUID(); // RA UUID

More information about the Digitalmars-d mailing list