Geant4-11
G4fs Namespace Reference

Detailed Description

Namespace adapter for filesystem in std:: or std::experimental::

Developers should use this namespace to scope into the C++ filesystem library, e.g.

// Don't use std:: directly...
auto p = std::filesystem::path{ argv[0] };
// ... use the alias
auto p = G4fs::path{ argv[0] };

This allows compatibility with C++ standard libraries that only provide filesystem in the std::experimental namespace