mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
T.21 Fix wrong return type (#1942)
Co-authored-by: Nikolay Panov <pn.interface@gmail.com>
This commit is contained in:
@@ -17434,7 +17434,7 @@ The rule supports the view that a concept should reflect a (mathematically) cohe
|
||||
bool operator<(const Convenient&, const Convenient&);
|
||||
// ... and the other comparison operators ...
|
||||
|
||||
Minimal operator+(const Convenient&, const Convenient&);
|
||||
Convenient operator+(const Convenient&, const Convenient&);
|
||||
// ... and the other arithmetic operators ...
|
||||
|
||||
void f(const Convenient& x, const Convenient& y)
|
||||
|
||||
Reference in New Issue
Block a user