aboutsummaryrefslogtreecommitdiff
path: root/butl/path
diff options
context:
space:
mode:
Diffstat (limited to 'butl/path')
-rw-r--r--butl/path13
1 files changed, 10 insertions, 3 deletions
diff --git a/butl/path b/butl/path
index d5b4407..d2d33b8 100644
--- a/butl/path
+++ b/butl/path
@@ -18,8 +18,6 @@ namespace butl
{
// Wish list/ideas for improvements.
//
- // - posix_representation() in addition to posix_string()
- //
// - Ability to convert to directory/leaf/base in-place, without dynamic
// allocation. One idea is something like this:
//
@@ -822,7 +820,16 @@ namespace butl
// c:\foo), this function will throw the invalid_path exception.
//
string_type
- posix_string () const;
+ posix_string () const&;
+
+ string_type
+ posix_representation () const&;
+
+ string_type
+ posix_string () &&;
+
+ string_type
+ posix_representation () &&;
// Implementation details.
//