Load the wide-string version of viewIn into result.
Declared in <bdlt_formattestutil.h>
static
void
widen(
bsl::wstring* result,
std::string_view const& viewIn);
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.
| Name | Description |
|---|---|
| result | loaded with the wide-string conversion of viewIn |
| viewIn | narrow string view to convert |