[#BloombergLP-bdlt-FormatTestUtil-widen]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/FormatTestUtil.adoc[FormatTestUtil]::widen
:relfileprefix: ../../../
:mrdocs:

Load the `wstring` version of the specified `char`&hyphen;based string view `viewIn` into the specified `result`&period; The behavior is undefined unless all of the `char` values in `viewIn` are ascii&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;formattestutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
widen(
    xref:bsl/wstring.adoc[bsl::wstring]* result,
    std::string&lowbar;view const& viewIn);
----


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