From f2541bb90af059680aa7036f315f052175999355 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 8 Apr 2015 03:09:47 +0000 Subject: Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2. --- libs/thread/doc/future_ref.qbk | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'libs/thread/doc/future_ref.qbk') diff --git a/libs/thread/doc/future_ref.qbk b/libs/thread/doc/future_ref.qbk index 9fb73c173..d63e1aee3 100644 --- a/libs/thread/doc/future_ref.qbk +++ b/libs/thread/doc/future_ref.qbk @@ -1020,7 +1020,7 @@ There are not too much tests yet, so it is possible that you can find out some t void swap(shared_future& other); // retrieving the value - see below get(); + see below get() const; exception_ptr get_exception_ptr(); // EXTENSION @@ -1066,9 +1066,9 @@ There are not too much tests yet, so it is possible that you can find out some t [///////////////////////////////////] [section:get Member function `get()`] - const R& get(); - R& get(); - void get(); + const R& get() const; + R& get() const; + void get() const; [variablelist @@ -2362,7 +2362,7 @@ All `R` types must be the same. If any of the `future` or `shared_future` [section:make_ready_future Non-member function `make_ready_future()` EXTENSION] template - future::type> make_ready_future(T&& value); // EXTENSION + future make_ready_future(T&& value); // EXTENSION future make_ready_future(); // EXTENSION template future make_ready_future(exception_ptr ex); // DEPRECATED @@ -2371,11 +2371,15 @@ All `R` types must be the same. If any of the `future` or `shared_future` [variablelist +[[Remark:][ +where `V` is determined as follows: Let `U` be `decay_t`. Then `V` is `X&` +if `U` equals `reference_wrapper`, otherwise `V` is `U`. +]] [[Effects:] [ -- value prototype: The value that is passed into the function is moved to the shared state of the returned function if it is an rvalue. -Otherwise the value is copied to the shared state of the returned function. +- value prototype: The value that is passed into the function is moved to the shared state of the returned future if it is an rvalue. +Otherwise the value is copied to the shared state of the returned future. -- exception: The exception that is passed into the function is copied to the shared state of the returned function. +- exception: The exception that is passed into the function is copied to the shared state of the returned future. .]] -- cgit v1.2.1