aboutsummaryrefslogtreecommitdiff
path: root/butl
diff options
context:
space:
mode:
Diffstat (limited to 'butl')
-rw-r--r--butl/path11
1 files changed, 11 insertions, 0 deletions
diff --git a/butl/path b/butl/path
index 33c3d11..7562dac 100644
--- a/butl/path
+++ b/butl/path
@@ -14,6 +14,17 @@
namespace butl
{
+
+ // Wish list/ideas for improvements.
+ //
+ // Ability to convert to directory/leaf/base in-place, without dynamic
+ // allocation. One idea is something like this:
+ //
+ // p -= "/*"; // directory
+ // p -= "*/"; // leaf
+ // p -= ".*"; // base
+ //
+
class invalid_path_base: std::exception
{
public: