Searched refs:get_or (Results 1 – 5 of 5) sorted by relevance
99 BOOST_TEST(f.get_or(4) == 3); in main()121 BOOST_TEST(f.get_or(4) == 4); in main()150 BOOST_TEST(f.get_or(boost::ref(k)) == 5); in main()168 BOOST_TEST(f.get_or(boost::ref(j)) == 4); in main()
107 BOOST_ASSERT(f1.get_or(-1)==-1); in main()
375 see below get_or(see below); // EXTENSION558 [section:get_or Member function `get_or()` - EXTENSION]560 R get_or(R&& v); // EXTENSION561 R get_or(R const& v); // EXTENSION562 R& __unique_future__<R&>::get_or(R& v); // EXTENSION563 void __unique_future__<void>::get_or(); // EXTENSION575 - `__unique_future__<R&>::get_or(v)` return the stored reference if has_value() and the passes para…577 - `__unique_future__<void>::get_or()`, there is no return value, but the function doesn't throws ev…579 - `__unique_future__<R>::get_or(v)` returns an rvalue-reference to the value stored in the shared s…592 [[Notes:] [`get_or()` is an ['interruption point].]]
311 * [@http://svn.boost.org/trac/boost/ticket/10971 #10971] shared_future::get()/get_or() must be const467 * [@http://svn.boost.org/trac/boost/ticket/8677 #8677] Async: Add future<>::get_or.
1810 get_or(BOOST_THREAD_RV_REF(R2) v) in get_or() function in boost::BOOST_THREAD_FUTURE1837 get_or(R2 const& v) // EXTENSION in get_or() function in boost::BOOST_THREAD_FUTURE2068 move_dest_type get_or(BOOST_THREAD_RV_REF(R) v) // EXTENSION in get_or() function in boost::BOOST_THREAD_FUTURE2087 move_dest_type get_or(R const& v) // EXTENSION in get_or() function in boost::BOOST_THREAD_FUTURE2231 get_or(BOOST_THREAD_RV_REF(R2) v) const // EXTENSION in get_or() function in boost::shared_future5354 return fut.get_or(boost::move(value_));5367 return fut.get_or(value_);