|
@@ -147,21 +147,22 @@ export namespace Core {
|
|
|
String() noexcept : StringBase(data, N) {
|
|
String() noexcept : StringBase(data, N) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- String(String&& other) : String(static_cast<const String&>(other)) {
|
|
|
|
|
|
|
+ String(String&& other) noexcept :
|
|
|
|
|
+ String(static_cast<const String&>(other)) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- String(const String& other) : String() {
|
|
|
|
|
|
|
+ String(const String& other) noexcept : String() {
|
|
|
clear();
|
|
clear();
|
|
|
add(other);
|
|
add(other);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- String& operator=(String&& other) {
|
|
|
|
|
|
|
+ String& operator=(String&& other) noexcept {
|
|
|
clear();
|
|
clear();
|
|
|
add(other);
|
|
add(other);
|
|
|
return *this;
|
|
return *this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- String& operator=(const String& other) {
|
|
|
|
|
|
|
+ String& operator=(const String& other) noexcept {
|
|
|
clear();
|
|
clear();
|
|
|
add(other);
|
|
add(other);
|
|
|
return *this;
|
|
return *this;
|