With C++17 (or Boost::filesystem), we can get the current path / current working directory using filesystem::current_path()
. However - that gives us an absolute path.
We could also use an empty path as the relative current path - sometimes.
But - is it possible to obtain, portably, the equivalent of "."
or "./"
? i.e. a non-empty relative current path?