generate overloads

Synopses

Declared in <bdlb_guidutil.h>

Generate and return a single RFC 4122 version 4 GUID.

static
Guid
generate();

Generate RFC 4122 version 4 GUIDs into the specified array.

static
void
generate(
    Guid* result,
    std::size_t numGuids = 1);

Generate RFC 4122 version 4 GUIDs as bytes into the specified array.

static
void
generate(
    unsigned char* result,
    std::size_t numGuids = 1);

Return Value

a single RFC 4122 version 4 GUID

Parameters

Name

Description

result

array of Guid objects to populate

numGuids

number of GUIDs to generate (1 if not specified)

Created with MrDocs