@@ -814,7 +814,7 @@ and non-commutative versions available. If the class you are writing is
814
814
commutative wrt an operation, you should prefer the commutative template,
815
815
i.e., the one which has ` commutative_ ` at the beginning.
816
816
817
- It will be * more efficient* in some cases because it can avoid to create an
817
+ It will be * more efficient* in some cases because it can avoid an
818
818
extra temporary for the result and it has * fewer requirements* .
819
819
820
820
The one-argument version of the commutative template provides the same
@@ -876,8 +876,8 @@ return a value (an rvalue) instead of rvalue references.
876
876
877
877
## constexpr
878
878
879
- All generated comparison operators are marked `constexpr` by default.
880
- If you want to switch off `constexpr` support manually, you can set
879
+ All generated comparison operators are `constexpr` by default.
880
+ To switch off `constexpr` support simply
881
881
882
882
```c++
883
883
#define TAO_OPERATORS_CONSTEXPR
@@ -887,7 +887,7 @@ before including `<tao/operators.hpp>`.
887
887
888
888
Note that Visual C++ seems to have some problems with ` constexpr ` depending
889
889
on compile mode (debug/release), etc. and ` constexpr ` support is therefore
890
- disabled by default. If you want to manually enable it, try setting
890
+ disabled by default. To manually enable it again use
891
891
892
892
``` c++
893
893
#define TAO_OPERATORS_CONSTEXPR constexpr
@@ -897,7 +897,7 @@ before including `<tao/operators.hpp>`.
897
897
898
898
## noexcept
899
899
900
- If your compiler does not support `noexcept`, the following might be a viable
900
+ For compilers that do not support `noexcept`, the following might be a viable
901
901
work-around:
902
902
903
903
```c++
@@ -909,8 +909,6 @@ work-around:
909
909
#undef noexcept
910
910
```
911
911
912
- With this little hack, The Art of C++ / Operators can be used with GCC 4.4 +.
913
-
914
912
## Changelog
915
913
916
914
### 1.1.0
0 commit comments