std.uuid: Update 3

Johannes Pfau nospam at example.com
Tue Jun 12 07:14:45 PDT 2012


Am Tue, 12 Jun 2012 14:24:15 +0200
schrieb "Tobias Pankrath" <tobias at pankrath.net>:

> There are some references to a nilUUID left and the intro says, 
> that UUIDs default to nil. I'd recommend not to use nil at all 
> and instead talk about an empty UUID or UUID.init. The intro 
> should state that an UUID is empty iff it eqauls UUID.init and 
> that UUID.init is an UUID with all bytes zero.

oops. The references to nil definitely have to go. Thanks for letting me
know.

Do you mean I should also drop nilUUID completely and use UUID.init
instead everywhere in the module?


More information about the Digitalmars-d mailing list