Parse guidString as a GUID and load the value into result.

Synopsis

Declared in <bdlb_guidutil.h>

static
int
guidFromString(
    Guid* result,
    std::string_view const& guidString);

Description

Parse the specified guidString (in {GUID String Format}) and load its value into the specified result. Return 0 if result successfully loaded, and a non‐zero value otherwise.

Return Value

0 if result was successfully loaded, and a non‐zero value otherwise

Parameters

Name

Description

result

GUID object to populate

guidString

string in {GUID String Format} to parse

Created with MrDocs