[#BloombergLP-bdlb-Guid_BslFmtFormatterImpl-format]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Guid_BslFmtFormatterImpl.adoc[Guid&lowbar;BslFmtFormatterImpl]::format
:relfileprefix: ../../../
:mrdocs:

Format `value` according to the previously parsed specification&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;FORMAT&lowbar;CONTEXT&gt;
t&lowbar;FORMAT&lowbar;CONTEXT::iterator
format(
    xref:BloombergLP/bdlb/Guid.adoc[Guid] const& value,
    t&lowbar;FORMAT&lowbar;CONTEXT& formatContext) const;
----

== Description

Create a string representation of the specified `value` in accordance with the format specification previously parsed by `parse` (see grammar documented at the top of this component) and the specified `formatContext`, and copy it to the output iterator held by `formatContext`&period; Return the updated output iterator&period; The behavior is undefined unless `t&lowbar;FORMAT&lowbar;CONTEXT&colon;&colon;char&lowbar;type` is `t&lowbar;CHAR`&period;

== Return Value

output iterator after writing

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| guid to format
| *formatContext*
| format context providing the output iterator
|===


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