21#if defined CLI11_HAS_FILESYSTEM && CLI11_HAS_FILESYSTEM > 0
31CLI11_INLINE std::string narrow(
const std::wstring &str);
32CLI11_INLINE std::string narrow(
const wchar_t *str);
33CLI11_INLINE std::string narrow(
const wchar_t *str, std::size_t size);
36CLI11_INLINE std::wstring widen(
const std::string &str);
37CLI11_INLINE std::wstring widen(
const char *str);
38CLI11_INLINE std::wstring widen(
const char *str, std::size_t size);
41CLI11_INLINE std::string narrow(std::wstring_view str);
42CLI11_INLINE std::wstring widen(std::string_view str);
45#if defined CLI11_HAS_FILESYSTEM && CLI11_HAS_FILESYSTEM > 0
47CLI11_INLINE std::filesystem::path to_path(std::string_view str);
54#include "impl/Encoding_inl.hpp"