mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 02:06:04 +02:00
code cleanup; fix move ctors and assignment
This commit is contained in:
@@ -73,16 +73,16 @@ public:
|
||||
Array(const Array& copy);
|
||||
/// Creates an Array by copying another one.
|
||||
|
||||
Array(Array&& other);
|
||||
Array(Array&& other) noexcept;
|
||||
/// Move constructor
|
||||
|
||||
Array& operator=(Array&& other);
|
||||
/// Move assignment operator.
|
||||
|
||||
Array& operator=(const Array& other);
|
||||
Array& operator = (const Array& other);
|
||||
/// Assignment operator.
|
||||
|
||||
virtual ~Array();
|
||||
Array& operator = (Array&& other) noexcept;
|
||||
/// Move assignment operator.
|
||||
|
||||
~Array();
|
||||
/// Destroys the Array.
|
||||
|
||||
void setEscapeUnicode(bool escape = true);
|
||||
|
||||
@@ -84,18 +84,18 @@ public:
|
||||
/// Struct is not copied to keep the operation as
|
||||
/// efficient as possible (when needed, it will be generated upon request).
|
||||
|
||||
Object(Object&& other);
|
||||
Object(Object&& other) noexcept;
|
||||
/// Move constructor
|
||||
|
||||
Object &operator =(Object &&other);
|
||||
// Move asignment operator
|
||||
|
||||
virtual ~Object();
|
||||
~Object();
|
||||
/// Destroys the Object.
|
||||
|
||||
Object &operator =(const Object &other);
|
||||
Object &operator = (const Object &other);
|
||||
// Assignment operator
|
||||
|
||||
Object &operator = (Object &&other) noexcept;
|
||||
// Move asignment operator
|
||||
|
||||
void setEscapeUnicode(bool escape = true);
|
||||
/// Sets the flag for escaping unicode.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user