Why std::filesystem::path(“//.”) is not the same as std::filesystem::path(“//”) / std::filesystem::path(“.”)?

后端 未结 0 1859
悲哀的现实
悲哀的现实 2021-01-03 02:54

#include < filesystem >

using namespace std::filesystem;

int main(int, char**){

assert(path("//.").string() == path("//") / pa

相关标签:
回答
  • 消灭零回复
提交回复
热议问题