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

F.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