diff options
Diffstat (limited to 'deps/icu-small/source/common/charstr.h')
-rw-r--r-- | deps/icu-small/source/common/charstr.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/deps/icu-small/source/common/charstr.h b/deps/icu-small/source/common/charstr.h index 3cfdf6a897..86f69c383a 100644 --- a/deps/icu-small/source/common/charstr.h +++ b/deps/icu-small/source/common/charstr.h @@ -56,6 +56,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 * the assignment operator, to make copies explicit and to |