MCPcopy Create free account
hub / github.com/CLIUtils/CLI11 / wstring widen

Method wstring widen

include/CLI/impl/Encoding_inl.hpp:133–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131CLI11_INLINE std::string narrow(const wchar_t *str) { return detail::narrow_impl(str, std::wcslen(str)); }
132
133CLI11_INLINE std::wstring widen(const char *str, std::size_t str_size) { return detail::widen_impl(str, str_size); }
134CLI11_INLINE std::wstring widen(const std::string &str) { return detail::widen_impl(str.data(), str.size()); }
135// Flawfinder: ignore
136CLI11_INLINE std::wstring widen(const char *str) { return detail::widen_impl(str, std::strlen(str)); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected