Path(const std::string &p) { init(p); }
Path(const char *p) { init(p); }
const std::string &str() const { return path; }
- unsigned size() const;
+ unsigned size() const;
+ bool empty() const { return path.empty(); }
bool is_absolute() const;
Path subpath(unsigned, unsigned =(unsigned)-1) const;
Path operator/(const Path &p) const { Path a=*this; a/=p; return a; }