Subject: [Boost-bugs] [Boost C++ Libraries] #5990: shared_future<T>::get() has wrong return type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-07 12:22:29
#5990: shared_future<T>::get() has wrong return type
-------------------------------------------------------+--------------------
Reporter: Jan Vogelgesang <jan.vogelgesang@â¦> | Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------------------------+--------------------
The return type of shared_future<T>::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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5990> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC