diff --git a/operators.htm b/operators.htm index ea57f14..0062e59 100644 --- a/operators.htm +++ b/operators.htm @@ -11,7 +11,7 @@
Header boost/operators.hpp +
Header boost/operators.hpp supplies (in namespace boost) several sets of templates:
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 boost/operators.hpp
+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.
@@ -585,7 +585,7 @@ complicated than the old one, we think it's worth it to make the library more
useful in real world. Alexy Gurtovoy contributed the code which supports the new
usage idiom while allowing the library remain backward-compatible.
Revised 28 Jun 2000 +
Revised 03 Aug 2000
© Copyright David Abrahams and Beman Dawes 1999-2000. Permission to copy, use, modify, sell and distribute this document is granted provided this