File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1756
1756
\begin {itemdescr }
1757
1757
\pnum
1758
1758
\effects
1759
- If \tcode {joinable()} is \tcode {true},
1760
- calls \tcode {request_stop()} and then \tcode {join()}.
1761
- Assigns the state of \tcode {x} to \tcode {*this}
1759
+ If \tcode {\& x == this} is \tcode {true}, there are no effects.
1760
+ Otherwise, if \tcode {joinable()} is \tcode {true},
1761
+ calls \tcode {request_stop()} and then \tcode {join()},
1762
+ then assigns the state of \tcode {x} to \tcode {*this}
1762
1763
and sets \tcode {x} to a default constructed state.
1763
1764
1764
1765
\pnum
1765
1766
\ensures
1766
- \tcode {x.get_id() == id()}
1767
- and \tcode {get_id()} returns the value of \tcode {x.get_id()}
1767
+ \tcode {get_id()} returns the value of \tcode {x.get_id()}
1768
1768
prior to the assignment.
1769
1769
\tcode {ssource} has the value of \tcode {x.ssource}
1770
- prior to the assignment
1771
- and \tcode {x.ssource.stop_possible()} is \tcode {false}.
1770
+ prior to the assignment.
1772
1771
1773
1772
\pnum
1774
1773
\returns
You can’t perform that action at this time.
0 commit comments