[#BloombergLP-bdlb-GuidUtil-guidToString-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/GuidUtil.adoc[GuidUtil]::guidToString
:relfileprefix: ../../../
:mrdocs:

`guidToString` overloads

== Synopses

Declared in `&lt;bdlb&lowbar;guidutil&period;h&gt;`

Convert the specified `guid` into a string suitable for `guidFromString`, and return the string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:bsl/string.adoc[bsl::string]
xref:BloombergLP/bdlb/GuidUtil/guidToString-094.adoc[guidToString](xref:BloombergLP/bdlb/Guid.adoc[Guid] const& guid);
----

[.small]#xref:BloombergLP/bdlb/GuidUtil/guidToString-094.adoc[_» more&period;&period;&period;_]#

Serialize the specified `guid` into the specified `result`&period; The `result` string will be in a format suitable for `guidFromString`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlb/GuidUtil/guidToString-05.adoc[guidToString](
    xref:bsl/string.adoc[bsl::string]* result,
    xref:BloombergLP/bdlb/Guid.adoc[Guid] const& guid);
----

[.small]#xref:BloombergLP/bdlb/GuidUtil/guidToString-05.adoc[_» more&period;&period;&period;_]#

See the overload above for contract&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlb/GuidUtil/guidToString-04.adoc[guidToString](
    std::pmr::string* result,
    xref:BloombergLP/bdlb/Guid.adoc[Guid] const& guid);
----

[.small]#xref:BloombergLP/bdlb/GuidUtil/guidToString-04.adoc[_» more&period;&period;&period;_]#

See the overload above for contract&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlb/GuidUtil/guidToString-09f.adoc[guidToString](
    std::string* result,
    xref:BloombergLP/bdlb/Guid.adoc[Guid] const& guid);
----

[.small]#xref:BloombergLP/bdlb/GuidUtil/guidToString-09f.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
