Boost logo

Boost Users :

Subject: [Boost-users] [future] Confused about the represents in Doc "boost::future"
From: Cheng Mo (chmhou_at_[hidden])
Date: 2015-02-14 22:55:44

Hi all :
I got confused in Doc of boost :: futures and I can't got the point of sort of terms.
The represents in Overvies of Futures like
" 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."
no doubt that a const reference .... are safe.
a non const reference could be changed by external stimuli. isn't ?
Or the key is "Instances can be freely copied" , so that we can say "are safe"?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at