|
@@ -7,7 +7,7 @@
|
|
template <class T>
|
|
template <class T>
|
|
struct EmplaceConstructible {
|
|
struct EmplaceConstructible {
|
|
T value;
|
|
T value;
|
|
- explicit EmplaceConstructible(T value) : value(value) {}
|
|
|
|
|
|
+ explicit EmplaceConstructible(T xvalue) : value(xvalue) {}
|
|
EmplaceConstructible(EmplaceConstructible const&) = delete;
|
|
EmplaceConstructible(EmplaceConstructible const&) = delete;
|
|
};
|
|
};
|
|
|
|
|
|
@@ -15,7 +15,7 @@ template <class T>
|
|
struct EmplaceConstructibleAndMoveInsertable {
|
|
struct EmplaceConstructibleAndMoveInsertable {
|
|
int copied = 0;
|
|
int copied = 0;
|
|
T value;
|
|
T value;
|
|
- explicit EmplaceConstructibleAndMoveInsertable(T value) : value(value) {}
|
|
|
|
|
|
+ explicit EmplaceConstructibleAndMoveInsertable(T xvalue) : value(xvalue) {}
|
|
|
|
|
|
EmplaceConstructibleAndMoveInsertable(
|
|
EmplaceConstructibleAndMoveInsertable(
|
|
EmplaceConstructibleAndMoveInsertable&& Other)
|
|
EmplaceConstructibleAndMoveInsertable&& Other)
|
|
@@ -27,7 +27,7 @@ struct EmplaceConstructibleAndMoveable {
|
|
int copied = 0;
|
|
int copied = 0;
|
|
int assigned = 0;
|
|
int assigned = 0;
|
|
T value;
|
|
T value;
|
|
- explicit EmplaceConstructibleAndMoveable(T value) noexcept : value(value) {}
|
|
|
|
|
|
+ explicit EmplaceConstructibleAndMoveable(T xvalue) noexcept : value(xvalue) {}
|
|
|
|
|
|
EmplaceConstructibleAndMoveable(EmplaceConstructibleAndMoveable&& Other)
|
|
EmplaceConstructibleAndMoveable(EmplaceConstructibleAndMoveable&& Other)
|
|
noexcept : copied(Other.copied + 1),
|
|
noexcept : copied(Other.copied + 1),
|