File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 94089408
94099409\pnum
94109410\returns
9411- \tcode {x.has_value() \&\& static_cast<bool>(*x == v)}.
9411+ If \tcode {x.has_value()} is \tcode {true},
9412+ \tcode {*x == v};
9413+ otherwise \tcode {false}.
94129414\end {itemdescr }
94139415
94149416\indexlibrarymember {operator==}{expected}%
94249426
94259427\pnum
94269428\returns
9427- \tcode {!x.has_value() \&\& static_cast<bool>(x.error() == e.error())}.
9429+ If \tcode {x.has_value()} is \tcode {true},
9430+ \tcode {x.error() == e.error()};
9431+ otherwise \tcode {false}.
94289432\end {itemdescr }
94299433
94309434\rSec 2[expected.void]{Partial specialization of \tcode {expected} for \tcode {void} types}
1034610350\pnum
1034710351\returns
1034810352If \tcode {x.has_value()} does not equal \tcode {y.has_value()}, \tcode {false};
10349- otherwise \tcode {x.has_value() || static_cast<bool>(x.error() == y.error())}.
10353+ otherwise if \tcode {x.has_value()} is \tcode {true}, \tcode {true};
10354+ otherwise \tcode {x.error() == y.error()}.
1035010355\end {itemdescr }
1035110356
1035210357\indexlibrarymember {operator==}{expected<void>}%
1036310368
1036410369\pnum
1036510370\returns
10366- \tcode {!x.has_value() \&\& static_cast<bool>(x.error() == e.error())}.
10371+ If \tcode {!x.has_value()} is \tcode {true},
10372+ \tcode {x.error() == e.error()};
10373+ otherwise \tcode {false}.
1036710374\end {itemdescr }
1036810375
1036910376\rSec 1[bitset]{Bitsets}
You can’t perform that action at this time.
0 commit comments