We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3361cad commit 355a7afCopy full SHA for 355a7af
N4123_future.html
@@ -302,17 +302,6 @@ <h1> <del>Changes to c</del><ins>C</ins>lass template <code>future</code></h1>
302
<cxx-function>
303
<cxx-signature>bool is_ready() const;</cxx-signature>
304
<cxx-Returns> <code>true</code> if the shared state is ready, <code>false</code> if it isn't.</cxx-Returns>
305
- <cxx-remarks><ins>The function returns <code>false</code> if the shared state has been invalidated
306
- (for example, by <code>get()</code> or <code>wait()</code>).</ins></cxx-remarks>
307
- <cxx-example>
308
- <pre><ins>void g(futue<int> f) {
309
- if (f.is_ready()) {
310
- f.get();
311
- assert(!f.is_ready());
312
- }
313
-}
314
-</ins></pre>
315
- </cxx-example>
316
</cxx-function>
317
318
</cxx-section>
0 commit comments