Usermode/libc++ - Tweaks to STL
[tpg/acess2.git] / Usermode / Libraries / libc++.so_src / include_exp / string
index a32c9e9..84c3ef3 100644 (file)
@@ -152,6 +152,18 @@ public:
                        m_content->m_size = n;
                }
        }
+       #if __cplusplus < 199711L
+       basic_string(basic_string&& str) noexcept:
+               basic_string(allocator_type())
+       {
+       }
+       basic_string(basic_string&& str, const allocator_type& alloc) noexcept:
+               basic_string(alloc)
+       {
+               m_content = str.m_content;
+               str.m_content = 0;
+       }
+       #endif
        ~basic_string()
        {
                release_content();

UCC git Repository :: git.ucc.asn.au