aboutsummaryrefslogtreecommitdiff
path: root/butl/path.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'butl/path.ixx')
-rw-r--r--butl/path.ixx23
1 files changed, 22 insertions, 1 deletions
diff --git a/butl/path.ixx b/butl/path.ixx
index a90922a..26a9b3d 100644
--- a/butl/path.ixx
+++ b/butl/path.ixx
@@ -296,10 +296,31 @@ namespace butl
#ifndef _WIN32
template <typename C, typename K>
inline typename basic_path<C, K>::string_type basic_path<C, K>::
- posix_string () const
+ posix_string () const&
{
return string ();
}
+
+ template <typename C, typename K>
+ inline typename basic_path<C, K>::string_type basic_path<C, K>::
+ posix_string () &&
+ {
+ return std::move (*this).string ();
+ }
+
+ template <typename C, typename K>
+ inline typename basic_path<C, K>::string_type basic_path<C, K>::
+ posix_representation () const&
+ {
+ return representation ();
+ }
+
+ template <typename C, typename K>
+ inline typename basic_path<C, K>::string_type basic_path<C, K>::
+ posix_representation () &&
+ {
+ return std::move (*this).representation ();
+ }
#endif
template <typename C, typename K>