Namespaces
Variants
Actions

std::filesystem::current_path

From cppreference.com
 
 
 
Defined in header <filesystem>
path current_path();
(1) (since C++17)
path current_path( std::error_code& ec );
(2) (since C++17)
void current_path( const