fix ill-formed example C.65 (missing noexcept on declaration) (#2101)

This commit is contained in:
Eisenwave
2023-06-24 05:34:42 +02:00
committed by GitHub
parent db079ab301
commit a80c2a6f36

View File

@@ -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;
// ...
};