Namespaces
Variants

std::filesystem::remove, std::filesystem::remove_all

From cppreference.com
 
 
 
Defined in header <filesystem>
bool remove( const std::filesystem::path& p );
(1) (since C++17)
bool remove( const std::filesystem::path& p