We're updating the issue view to help you get more done. 

C++ moveFrom() functions: remove? or make stable?

Description

When I added move constructors and move assignment operators to some ICU C++ classes, I made them conditional on having C++11 compiler supported, and I also added moveFrom() functions that work with older C++ versions.

See for example UnicodeString::moveFrom().

Now that we require C++11, these are redundant with using std::move().

We kept these @draft. We could remove them, forcing anyone who was using them explicitly to switch to standard C++11 syntax.

Or, we could decide to keep them and make them @stable, because they are "harmless" and nicely explicit – but we would perpetuate two ways of achieving the same thing, a standard way and an ICU-specific way.

I assume that we will not want to add moveFrom() functions to other classes if & when we add move support there.

Status

Assignee

Markus Scherer

Reporter

Markus Scherer

Time Needed

Hours

Components

Fix versions

Priority

medium