MCPcopy Create free account
hub / github.com/CLIUtils/CLI11 / path to_path

Method path to_path

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

Source from the content-addressed store, hash-verified

142
143#if defined CLI11_HAS_FILESYSTEM && CLI11_HAS_FILESYSTEM > 0
144CLI11_INLINE std::filesystem::path to_path(std::string_view str) {
145 return std::filesystem::path{
146#ifdef _WIN32
147 widen(str)
148#else
149 str
150#endif // _WIN32
151 };
152}
153#endif // CLI11_HAS_FILESYSTEM
154

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected