Boost C++ Libraries: Ticket #5990: shared_future<T>::get() has wrong return type https://svn.boost.org/trac10/ticket/5990 <p> The return type of shared_future&lt;T&gt;::get() seems to be mixed up. The actual code (Trunk) returns T by value. The documentation says 'return by value' at some places and 'return by const ref' at other places (e.g. in the running text). The C++11 standard requires 'return by const ref' too. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5990 Trac 1.4.3 anonymous Wed, 26 Oct 2011 21:36:11 GMT <link>https://svn.boost.org/trac10/ticket/5990#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5990#comment:1</guid> <description> <p> Same shared_future&lt;T&gt;::get() is broken on compilers that have rvalue (msvc 10). Simplest example is shared_future&lt;std::string&gt; , or any type that has move constructor. It will move away object on first call to get. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sun, 11 Dec 2011 16:44:28 GMT</pubDate> <title>keywords set https://svn.boost.org/trac10/ticket/5990#comment:2 https://svn.boost.org/trac10/ticket/5990#comment:2 <ul> <li><strong>keywords</strong> doc move shared_future added </li> </ul> Ticket Troy.Runkel@… Tue, 13 Dec 2011 20:33:14 GMT cc set https://svn.boost.org/trac10/ticket/5990#comment:3 https://svn.boost.org/trac10/ticket/5990#comment:3 <ul> <li><strong>cc</strong> <span class="trac-author">Troy.Runkel@…</span> added </li> </ul> Ticket viboes Tue, 20 Dec 2011 17:42:38 GMT attachment set https://svn.boost.org/trac10/ticket/5990 https://svn.boost.org/trac10/ticket/5990 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">5590_5531.diff</span> </li> </ul> <p> Could you try the attached patch for this and <a class="new ticket" href="https://svn.boost.org/trac10/ticket/5531" title="#5531: Bugs: MPI-autodetection on Windows does not support MS-MPI v2 (new)">#5531</a>? </p> Ticket viboes Tue, 20 Dec 2011 17:44:29 GMT owner, status, version changed https://svn.boost.org/trac10/ticket/5990#comment:4 https://svn.boost.org/trac10/ticket/5990#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost Development Trunk</span> → <span class="trac-field-new">Boost 1.48.0</span> </li> </ul> Ticket viboes Thu, 29 Dec 2011 14:13:51 GMT type changed https://svn.boost.org/trac10/ticket/5990#comment:5 https://svn.boost.org/trac10/ticket/5990#comment:5 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> </ul> Ticket viboes Sat, 07 Jan 2012 23:05:23 GMT milestone changed https://svn.boost.org/trac10/ticket/5990#comment:6 https://svn.boost.org/trac10/ticket/5990#comment:6 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.49.0</span> </li> </ul> Ticket viboes Tue, 17 Jan 2012 06:39:16 GMT <link>https://svn.boost.org/trac10/ticket/5990#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5990#comment:7</guid> <description> <p> Committed in trunk at revision <a class="changeset" href="https://svn.boost.org/trac10/changeset/76543" title=" * [@http://svn.boost.org/trac/boost/ticket/2741 #2741] Proposal to ...">[76543]</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Mon, 28 May 2012 15:43:36 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/5990#comment:8 https://svn.boost.org/trac10/ticket/5990#comment:8 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.49.0</span> → <span class="trac-field-new">Boost 1.50.0</span> </li> </ul> <p> Committed in release branch at <a class="changeset" href="https://svn.boost.org/trac10/changeset/78543" title="Merged boost.thread from trunk">[78543]</a> </p> Ticket Jonathan Jones <jonathan.jones@…> Fri, 29 Jun 2012 22:02:06 GMT cc changed https://svn.boost.org/trac10/ticket/5990#comment:9 https://svn.boost.org/trac10/ticket/5990#comment:9 <ul> <li><strong>cc</strong> <span class="trac-author">jonathan.jones@…</span> added </li> </ul> Ticket