mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue