File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1289
1289
\ref {istream::sentry },
1290
1290
\ref {ostream::sentry },
1291
1291
\ref {iostate.flags }
1292
- \change Specify use of explicit in existing boolean conversion operators
1292
+ \change Specify use of explicit in existing boolean conversion functions
1293
1293
\rationale Clarify intentions, avoid workarounds.
1294
1294
\effect
1295
1295
Valid \CppIII code that relies on implicit boolean conversions will fail to
Original file line number Diff line number Diff line change 5701
5701
\pnum
5702
5702
\tcode {reference}
5703
5703
is a class that simulates the behavior of references of a single bit in
5704
- \tcode {vector<bool>}. The conversion operator returns \tcode {true}
5704
+ \tcode {vector<bool>}. The conversion function returns \tcode {true}
5705
5705
when the bit is set, and \tcode {false} otherwise. The assignment operator
5706
5706
sets the bit when the argument is (convertible to) \tcode {true} and
5707
5707
clears it otherwise. \tcode {flip} reverses the state of the bit.
Original file line number Diff line number Diff line change 799
799
\indextext {function!conversion}%
800
800
\indextext {fundamental~type~conversion|see{conversion, user-defined}}%
801
801
\indextext {conversion!user-defined}%
802
- \indextext {conversion operator|see{conversion, user defined}}
803
802
804
803
\pnum
805
804
A member function of a class \tcode {X} having no parameters with a name of the form
You can’t perform that action at this time.
0 commit comments