本文介绍Poco库中Path的实现和理解
1 typedef std::vector<std::string> StringVec; 2 3 class Path { 4 private: 5 std::string _node; 6 std::string _device; 7 std::string _name; 8 std::string _version; 9 StringVec _dirs; 10 bool _absolute; 11 }
本文介绍Poco库中Path的实现和理解
1 typedef std::vector<std::string> StringVec; 2 3 class Path { 4 private: 5 std::string _node; 6 std::string _device; 7 std::string _name; 8 std::string _version; 9 StringVec _dirs; 10 bool _absolute; 11 }