Skip to content

Commit 742180b

Browse files
authored
Update README.md
1 parent 66e8657 commit 742180b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ and non-commutative versions available. If the class you are writing is
814814
commutative wrt an operation, you should prefer the commutative template,
815815
i.e., the one which has `commutative_` at the beginning.
816816

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
818818
extra temporary for the result and it has *fewer requirements*.
819819

820820
The one-argument version of the commutative template provides the same
@@ -876,8 +876,8 @@ return a value (an rvalue) instead of rvalue references.
876876
877877
## constexpr
878878
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
881881
882882
```c++
883883
#define TAO_OPERATORS_CONSTEXPR
@@ -887,7 +887,7 @@ before including `<tao/operators.hpp>`.
887887

888888
Note that Visual C++ seems to have some problems with `constexpr` depending
889889
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
891891

892892
```c++
893893
#define TAO_OPERATORS_CONSTEXPR constexpr
@@ -897,7 +897,7 @@ before including `<tao/operators.hpp>`.
897897
898898
## noexcept
899899
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
901901
work-around:
902902
903903
```c++
@@ -909,8 +909,6 @@ work-around:
909909
#undef noexcept
910910
```
911911

912-
With this little hack, The Art of C++ / Operators can be used with GCC 4.4+.
913-
914912
## Changelog
915913

916914
### 1.1.0

0 commit comments

Comments
 (0)