Re: How to create an UUID (Version 1)

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...

unless there are any objections.

I am not an expert on these things but off the top of my head:

Windows: fine

Linux: datetime+mac = fine, purely random = not really, needs an option

Personally, I think that "new()" sucks, what is wrong with "new_guid()"??
It should, imo, be new_guid(bool bAllowRand=false) and return (say) {} when uuid_generate=-1 and bAllowRand is false.

Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu