Table of Contents Previous Next
Logo
The C++ Utility Library : E.6 generateUUID
Copyright © 2003-2009 ZeroC, Inc.

E.6 generateUUID

The signature of generateUUID is:
std::string generateUUID();
The function returns a universally-unique identifier, such as
02b066f5-c762-431c-8dd3-9b1941355e41
Each invocation returns a new identifier that is differs from all previous ones.1

1
Or, rather, differs from all previous ones for the next few decades.

Table of Contents Previous Next
Logo