aboutsummaryrefslogtreecommitdiff
path: root/butl/path
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-19 17:19:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-19 17:19:28 +0200
commit09bedede7116961fbfb298a6a6cfa933af7af682 (patch)
treec5e49d15828af9f6a3862f78e0cff0df32e34975 /butl/path
parent8871bbee2859f3221318a5e122941607e4ca933b (diff)
Add note on potential improvement for path
Diffstat (limited to 'butl/path')
-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: