Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(109)

Unified Diff: i18n/unicode/nounit.h

Issue 342730043: [Abandoned] Adding move operators to MeasureUnit and subclasses. Base URL: svn+icussh://source.icu-project.org/repos/icu/branches/shane/numberformat4/icu4c/source/
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « i18n/unicode/measunit.h ('k') | i18n/unicode/tmunit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: i18n/unicode/nounit.h
===================================================================
--- i18n/unicode/nounit.h (revision 41097)
+++ i18n/unicode/nounit.h (working copy)
@@ -56,12 +56,30 @@
static NoUnit U_EXPORT2 permille();
/**
- * Copy operator.
+ * Copy constructor.
* @draft ICU 60
*/
NoUnit(const NoUnit& other);
/**
+ * Move constructor.
+ * @draft ICU 62
+ */
+ NoUnit(NoUnit&& src) U_NOEXCEPT;
+
+ /**
+ * Copy assignment operator.
+ * @draft ICU 62
+ */
+ NoUnit& operator=(const NoUnit& other);
+
+ /**
+ * Move assignment operator.
+ * @draft ICU 62
+ */
+ NoUnit& operator=(NoUnit&& src) U_NOEXCEPT;
+
+ /**
* Return a polymorphic clone of this object. The result will
* have the same class as returned by getDynamicClassID().
* @draft ICU 60
« no previous file with comments | « i18n/unicode/measunit.h ('k') | i18n/unicode/tmunit.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b