From 62c34f51f6377243ef14353b56092ccdb1c98850 Mon Sep 17 00:00:00 2001 From: Daniel Frey Date: Tue, 30 Apr 2019 18:29:28 +0200 Subject: [PATCH] Avoid confusion with the spaceship operator, fixes #59 --- operators.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operators.htm b/operators.htm index db81fd3..d2c6682 100644 --- a/operators.htm +++ b/operators.htm @@ -119,8 +119,8 @@ also want x > y, x >= y, and x <= y. Moreover, unless your class has really surprising behavior, some of these related operators can be defined in terms of others (e.g. x >= y - <=> !(x < y)). Replicating this boilerplate for multiple - classes is both tedious and error-prone. The ). Replicating this boilerplate for + multiple classes is both tedious and error-prone. The boost/operators.hpp templates help by generating operators for you at namespace scope based on other operators you've defined in your class.