Boost logo

Boost :

From: Andy (atompkins_at_[hidden])
Date: 2007-02-23 10:05:14

<Oliver.Kowalke_at_[hidden]> wrote in

> Hello,
> Currently are two guid libraries in the vault. Is it possible to
> create one library containing the code for guid v1,v4,v5?

I am not very happy with the create_v1() function in Really
it just pretends to implement the specification correctly. Thus I removed
it. has create_v4 (random number based) and create_v5 (name
based) implemented correctly.

> Or better - could we get one guid class with the static member
> functions guid::create_v1(); guid::create_v4(), guid::create_v5()?
> Regards,Oliver
> _______________________________________________
> Unsubscribe & other changes:

Both create_v4() and create_v5() can be obtained from static functions,
guid::create() - random number based (v4), and guid::create(guid const&,
char const&, int) - name based (v5).

I hope this answers your question.


Boost list run by bdawes at, gregod at, cpdaniel at, john at