boost::filesystem relative path and current directory?

Viewed 60209

How can I use boost::filesystem::path to specify a relative path on Windows? This attempt fails:

boost:filesystem::path full_path("../asset/toolbox"); // invalid path or directory.

Maybe to help me debug, how to get the current working directory with boost::filesystem?

4 Answers
Related