From 9628e5adb022783f2aaf9ae53df0367e0f44d126 Mon Sep 17 00:00:00 2001
From: Beman Dawes Header boost/operators.hpp
-supplies (in namespace boost) several sets of templates: Header boost/operators.hpp supplies
+(in namespace boost) several sets of templates:
-Header
boost/operators.hpp
+started the library and contributed the arithmetic operators in boost/operators.hpp.
Jeremy Siek
contributed the dereference operators and iterator
-helpers in boost/operators.hpp.
+helpers in boost/operators.hpp.
Aleksey Gurtovoy
contributed the code to support base class chaining
while remaining backward-compatible with old versions of the library.
@@ -60,7 +60,7 @@ 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 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.
Revised 03 Aug 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 copyright notice appears in all copies. This document is provided "as