If I use functions like absolute()
I always get a path which contains quotation marks.
Is there a way within the filesystem functions to remove this quotation marks which enables it to use with e.g. std::ifstream?
fs::path p2 { "./test/hallo.txt" };
std::cout << "absolte to file : " << fs::absolute(p2) << std::endl;
returns:
"/home/bla/blub/./test/hallo.txt"
I need
/home/bla/blub/./test/hallo.txt
instead.
It is no problem to do it manually, but I want to ask if there is a method inside the filesystem lib.