18 #include <string_view>
21 #if defined CLI11_HAS_FILESYSTEM && CLI11_HAS_FILESYSTEM > 0
23 #include <string_view>
24 #endif // CLI11_HAS_FILESYSTEM
45 #if defined CLI11_HAS_FILESYSTEM && CLI11_HAS_FILESYSTEM > 0
46 CLI11_INLINE std::filesystem::path to_path(std::string_view str);
48 #endif // CLI11_HAS_FILESYSTEM
54 #include "impl/Encoding_inl.hpp"
CLI11_INLINE std::string narrow(const std::wstring &str)
Convert a wide string to a narrow string.
#define CLI11_INLINE
Definition: Macros.hpp:150
CLI11_INLINE std::wstring widen(const std::string &str)
Convert a narrow string to a wide string.