mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 04:44:34 +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;
|
||||
int i;
|
||||
public:
|
||||
Foo& operator=(Foo&& a);
|
||||
Foo& operator=(Foo&& a) noexcept;
|
||||
// ...
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user