Topic: Defect Report: library issue 1047 also applies to shared_future::get()


Author: "Thomas J. Gritzan" <phygon_antispam@gmx.de>
Date: Fri, 3 Apr 2009 10:31:45 CST
Raw View
library issue 1047 also applies to shared_future::get()

Proposed resolution:

Add a paragraph to 30.6.5 [futures.shared_future]:

void shared_future<void>::get() const;

   Note:...

   Effects: If is_ready() would return false, block on the asynchronous
result associated with *this.

--
Thomas J. Gritzan

[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]