Add PBD::sys::operator/ to pbd/filesystem for convenient path building
git-svn-id: svn://localhost/ardour2/trunk@2412 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d7c5629376
commit
a6e68cbb92
@ -115,6 +115,9 @@ public:
|
||||
int system_error() const { return m_error_code; }
|
||||
};
|
||||
|
||||
inline path operator/ (const path& lhs, const path& rhs)
|
||||
{ return path(lhs) /= rhs; }
|
||||
|
||||
/// @return true if path at p exists
|
||||
bool exists(const path & p);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user