[#BloombergLP-bdls-FilesystemUtil_CStringUtil-flatten-0c9]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil_CStringUtil.adoc[FilesystemUtil&lowbar;CStringUtil]::flatten
:relfileprefix: ../../../
:mrdocs:

Return a temporary `bsl&colon;&colon;string` constructed from the specified `stringRef`&period;

== Synopsis

Declared in `&lt;bdls&lowbar;filesystemutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:bsl/string.adoc[bsl::string]
flatten(xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& stringRef);
----

== Return Value

a temporary `bsl&colon;&colon;string` constructed from `stringRef`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stringRef*
| string reference used to construct the temporary
|===


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