Boost logo

Boost Users :

Subject: Re: [Boost-users] [future] Confused about the represents in Doc "boost::future"
From: chmhou_at_[hidden]
Date: 2015-02-16 03:46:30


source url : http://www.boost.org/doc/libs/1_57_0/doc/html/thread/synchronization.html#thread.synchronization.futures

Futures

Overview

The 4th section say that "Instances can be freely copied and assigned, and boost::shared_future<R>::get() returns a non const reference so that multiple calls to boost::shared_future<R>::get() are safe."

That's just what I am confused about.
Is it one typo ?



Martin
 
From: Vicente J. Botet Escriba
Date: 2015-02-16 16:34
To: boost-users
Subject: Re: [Boost-users] [future] Confused about the represents in Doc "boost::future"
Le 16/02/15 02:36, Ben Pope a écrit :
> The part of the doc that says non-const& is wrong.
>
> Elsewhere it says const&, which is correct.
>
>
>
Hi,
 
please could you point me where in the doc it is sais non-const?
 
Thanks,
Vicente
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
 



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net