mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
fix ill-formed example C.65 (missing noexcept on declaration) (#2101)
This commit is contained in:
@@ -6387,7 +6387,7 @@ If `x = x` changes the value of `x`, people will be surprised and bad errors can
|
|||||||
string s;
|
string s;
|
||||||
int i;
|
int i;
|
||||||
public:
|
public:
|
||||||
Foo& operator=(Foo&& a);
|
Foo& operator=(Foo&& a) noexcept;
|
||||||
// ...
|
// ...
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user