...
This commit is contained in:
@@ -266,8 +266,10 @@ protected:
|
||||
return val;
|
||||
} else if constexpr (std::constructible_from<UT, std::filesystem::path>) {
|
||||
return UT(val);
|
||||
} else if constexpr (std::is_pointer_v<std::decay_t<UT>> && std::same_as<std::filesystem::path::value_type*,
|
||||
std::decay_t<UT>>) { // char*/wchar_t*
|
||||
} else if constexpr (std::is_pointer_v<std::decay_t<UT>> &&
|
||||
(std::same_as<std::filesystem::path::value_type*, UT> ||
|
||||
std::same_as<const std::filesystem::path::value_type*,
|
||||
UT>)) { // char*/wchar_t*
|
||||
return val.c_str();
|
||||
} else if constexpr (snplib::snplib_char_range_c<UT>) {
|
||||
using iter_t = std::filesystem::path::value_type*;
|
||||
|
||||
Reference in New Issue
Block a user