How to condense a path in C++ using Boost?
- by pdillon3
Does Boost offer a simple way to condense a path such as /foo/bar/../bar or /foo/../. into the absolute path it refers to.
/foo/bar/../bar -- /foo/bar
/foo/../. -- /
The goal is to combine base_path and rel_path with
boost::filesystem::complete(rel_path, base_path)
into a path into /foo/bar/with/no/dots.
thanks