[#BloombergLP-bdlt-FormatTestUtil-widen] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/FormatTestUtil.adoc[FormatTestUtil]::widen :relfileprefix: ../../../ :mrdocs: Load the wide‐string version of `viewIn` into `result`. == Synopsis Declared in `<bdlt_formattestutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void widen( xref:bsl/wstring.adoc[bsl::wstring]* result, std::string_view const& viewIn); ---- == Description Load the `wstring` version of the specified `char`‐based string view `viewIn` into the specified `result`. The behavior is undefined unless all of the `char` values in `viewIn` are ascii. == Parameters [cols="1,4"] |=== | Name| Description | *result* | loaded with the wide‐string conversion of `viewIn` | *viewIn* | narrow string view to convert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#