|
1836 | 1836 | \effects Constructs an object of type \tcode{unique_lock} and calls \tcode{m.lock()}.
|
1837 | 1837 |
|
1838 | 1838 | \pnum
|
1839 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == true}. |
| 1839 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == true}. |
1840 | 1840 | \end{itemdescr}
|
1841 | 1841 |
|
1842 | 1842 | \indexlibrary{\idxcode{unique_lock}!constructor}%
|
|
1849 | 1849 | \effects Constructs an object of type \tcode{unique_lock}.
|
1850 | 1850 |
|
1851 | 1851 | \pnum
|
1852 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == false}. |
| 1852 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == false}. |
1853 | 1853 | \end{itemdescr}
|
1854 | 1854 |
|
1855 | 1855 | \indexlibrary{\idxcode{unique_lock}!constructor}%
|
|
1868 | 1868 | \effects Constructs an object of type \tcode{unique_lock} and calls \tcode{m.try_lock()}.
|
1869 | 1869 |
|
1870 | 1870 | \pnum
|
1871 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == res}, where \tcode{res} is |
1872 |
| -the value returned by the call to \tcode{m.try_lock()}. |
| 1871 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == res}, |
| 1872 | +where \tcode{res} is the value returned by the call to \tcode{m.try_lock()}. |
1873 | 1873 | \end{itemdescr}
|
1874 | 1874 |
|
1875 | 1875 | \indexlibrary{\idxcode{unique_lock}!constructor}%
|
|
1885 | 1885 | \effects Constructs an object of type \tcode{unique_lock}.
|
1886 | 1886 |
|
1887 | 1887 | \pnum
|
1888 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == true}. |
| 1888 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == true}. |
1889 | 1889 |
|
1890 | 1890 | \pnum
|
1891 | 1891 | \throws Nothing.
|
|
1907 | 1907 | \effects Constructs an object of type \tcode{unique_lock} and calls \tcode{m.try_lock_until(abs_time)}.
|
1908 | 1908 |
|
1909 | 1909 | \pnum
|
1910 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == res}, where \tcode{res} is |
| 1910 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == res}, |
| 1911 | +where \tcode{res} is |
1911 | 1912 | the value returned by the call to \tcode{m.try_lock_until(abs_time)}.
|
1912 | 1913 | \end{itemdescr}
|
1913 | 1914 |
|
|
1926 | 1927 | \effects Constructs an object of type \tcode{unique_lock} and calls \tcode{m.try_lock_for(rel_time)}.
|
1927 | 1928 |
|
1928 | 1929 | \pnum
|
1929 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == res}, where \tcode{res} is the value returned by the call to \tcode{m.try_lock_for(rel_time)}. |
| 1930 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == res}, |
| 1931 | +where \tcode{res} is the value returned by the call to \tcode{m.try_lock_for(rel_time)}. |
1930 | 1932 | \end{itemdescr}
|
1931 | 1933 |
|
1932 | 1934 | \indexlibrary{\idxcode{unique_lock}!constructor}%
|
|
2264 | 2266 | \effects Constructs an object of type \tcode{shared_lock} and calls \tcode{m.lock_shared()}.
|
2265 | 2267 |
|
2266 | 2268 | \pnum
|
2267 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == true}. |
| 2269 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == true}. |
2268 | 2270 | \end{itemdescr}
|
2269 | 2271 |
|
2270 | 2272 | \indexlibrary{\idxcode{shared_lock}!constructor}%
|
|
2277 | 2279 | \effects Constructs an object of type \tcode{shared_lock}.
|
2278 | 2280 |
|
2279 | 2281 | \pnum
|
2280 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == false}. |
| 2282 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == false}. |
2281 | 2283 | \end{itemdescr}
|
2282 | 2284 |
|
2283 | 2285 | \indexlibrary{\idxcode{shared_lock}!constructor}%
|
|
2293 | 2295 | \effects Constructs an object of type \tcode{shared_lock} and calls \tcode{m.try_lock_shared()}.
|
2294 | 2296 |
|
2295 | 2297 | \pnum
|
2296 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == res} where \tcode{res} is the |
| 2298 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == res} |
| 2299 | +where \tcode{res} is the |
2297 | 2300 | value returned by the call to \tcode{m.try_lock_shared()}.
|
2298 | 2301 | \end{itemdescr}
|
2299 | 2302 |
|
|
2310 | 2313 | \effects Constructs an object of type \tcode{shared_lock}.
|
2311 | 2314 |
|
2312 | 2315 | \pnum
|
2313 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == true}. |
| 2316 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == true}. |
2314 | 2317 | \end{itemdescr}
|
2315 | 2318 |
|
2316 | 2319 | \indexlibrary{\idxcode{shared_lock}!constructor}%
|
|
2329 | 2332 | \tcode{m.try_lock_shared_until(abs_time)}.
|
2330 | 2333 |
|
2331 | 2334 | \pnum
|
2332 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == res} where \tcode{res} |
| 2335 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == res} |
| 2336 | +where \tcode{res} |
2333 | 2337 | is the value returned by the call to \tcode{m.try_lock_shared_until(abs_time)}.
|
2334 | 2338 | \end{itemdescr}
|
2335 | 2339 |
|
|
2349 | 2353 | \tcode{m.try_lock_shared_for(rel_time)}.
|
2350 | 2354 |
|
2351 | 2355 | \pnum
|
2352 |
| -\postconditions \tcode{pm == \&m} and \tcode{owns == res} where \tcode{res} is |
| 2356 | +\postconditions \tcode{pm == addressof(m)} and \tcode{owns == res} |
| 2357 | +where \tcode{res} is |
2353 | 2358 | the value returned by the call to \tcode{m.try_lock_shared_for(rel_time)}.
|
2354 | 2359 | \end{itemdescr}
|
2355 | 2360 |
|
|
0 commit comments