std::filesystem::path::stem (3) Linux Manual Page
std::filesystem::path::stem – std::filesystem::path::stem Synopsis path stem() const; (since C++17) Returns the filename identified by the generic-format path stripped of its extension. Returns the substring from the beginning of filename() up to and not including the last period (.) character, with the following exceptions: If the first character in the filename is a period, that period…
