]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/charstr.h
ICU-62135.0.1.tar.gz
[apple/icu.git] / icuSources / common / charstr.h
index 3cfdf6a897a4975c035bd29968c29a6efa1b7bfd..86f69c383a0b37a9933185e6c93b14d690314110 100644 (file)
@@ -55,6 +55,18 @@ public:
     }
     ~CharString() {}
 
+    /**
+     * Move constructor; might leave src in an undefined state.
+     * This string will have the same contents and state that the source string had.
+     */
+    CharString(CharString &&src) U_NOEXCEPT;
+    /**
+     * Move assignment operator; might leave src in an undefined state.
+     * This string will have the same contents and state that the source string had.
+     * The behavior is undefined if *this and src are the same object.
+     */
+    CharString &operator=(CharString &&src) U_NOEXCEPT;
+
     /**
      * Replaces this string's contents with the other string's contents.
      * CharString does not support the standard copy constructor nor