From 09bedede7116961fbfb298a6a6cfa933af7af682 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 19 Jul 2016 17:19:28 +0200 Subject: Add note on potential improvement for path --- butl/path | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'butl/path') 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: -- cgit v1.1