$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [future] Confused about the represents in Doc "boost::future"
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-02-16 08:46:50
Le 16/02/15 09:46, chmhou_at_[hidden] a écrit :
> 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()|
> <http://www.boost.org/doc/libs/1_57_0/doc/html/thread/synchronization.html#thread.synchronization.futures.reference.shared_future.get> returns
> a non |const| reference so that multiple calls to
> |boost::shared_future<R>::get()|
> <http://www.boost.org/doc/libs/1_57_0/doc/html/thread/synchronization.html#thread.synchronization.futures.reference.shared_future.get> are
> safe."
>
> That's just what I am confused about.
> Is it one typo ?
>
Yes. Fixed on develop branch.
Thanks,
Vicente