how to subtract one path from another?
问题 So... I have a base path and a new path.New path contains in it base path. I need to see what is different in new path. Like we had /home/ and new path is /home/apple/one and I need to get from it apple/one. note - when I would create some path from (homePath/diffPath) I need to get that /home/apple/one again. How to do such thing with Boost FileSystem? 回答1: Using stem() and parent_path() and walk backwards from the new path until we get back to base path, this works, but I am not sure if it