https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88888

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I'm not sure we should bother doing anything here. There are various
workarounds possible:

std::filesystem::path p(vla);
std::filesystem::path p({vla, (size_t)i});
std::filesystem::path p = (const char*)vla;
std::filesystem::path p = std::string(vla);
std::filesystem::path p = std::string(vla, i);
std::filesystem::path p = std::string_view(vla);
std::filesystem::path p = std::string_view(vla, i);

Reply via email to