Lines Matching refs:Fn
155 template< typename Fn, typename ... Fns >
156 void wait_first_simple_impl( Done::ptr done, Fn && function, Fns && ... functions) { in wait_first_simple_impl()
192 template< typename T, typename Fn >
194 Fn && function) { in wait_first_value_impl()
222 template< typename Fn, typename ... Fns >
223 typename std::result_of< Fn() >::type
224 wait_first_value( Fn && function, Fns && ... functions) { in wait_first_value()
225 typedef typename std::result_of< Fn() >::type return_t; in wait_first_value()
230 std::forward< Fn >( function), in wait_first_value()
257 template< typename T, typename CHANP, typename Fn >
258 void wait_first_outcome_impl( CHANP chan, Fn && function) { in wait_first_outcome_impl()
266 typename std::decay< Fn >::type & function) { in wait_first_outcome_impl()
279 std::forward< Fn >( function) in wait_first_outcome_impl()
303 template< typename Fn, typename ... Fns >
304 typename std::result_of< Fn() >::type
305 wait_first_outcome( Fn && function, Fns && ... functions) { in wait_first_outcome()
309 typedef typename std::result_of< Fn() >::type return_t; in wait_first_outcome()
315 std::forward< Fn >( function), in wait_first_outcome()
395 template< typename Fn, typename ... Fns >
396 typename std::result_of< Fn() >::type
397 wait_first_success( Fn && function, Fns && ... functions) { in wait_first_success()
402 typedef typename std::result_of< typename std::decay< Fn >::type() >::type return_t; in wait_first_success()
408 std::forward< Fn >( function), in wait_first_success()
516 template< typename Fn, typename ... Fns >
518 Fn && function, Fns && ... functions) { in wait_all_simple_impl()
522 typename std::decay< Fn >::type & function) mutable { in wait_all_simple_impl()
527 std::forward< Fn >( function) in wait_all_simple_impl()
597 template< typename T, typename Fn >
599 Fn && function) { in wait_all_values_impl()
623 template< typename Fn, typename ... Fns >
624 std::shared_ptr< boost::fibers::buffered_channel< typename std::result_of< Fn() >::type > >
625 wait_all_values_source( Fn && function, Fns && ... functions) { in wait_all_values_source()
627 typedef typename std::result_of< Fn() >::type return_t; in wait_all_values_source()
635 std::forward< Fn >( function), in wait_all_values_source()
646 template< typename Fn, typename ... Fns >
647 std::vector< typename std::result_of< Fn() >::type >
648 wait_all_values( Fn && function, Fns && ... functions) { in wait_all_values()
650 typedef typename std::result_of< Fn() >::type return_t; in wait_all_values()
657 wait_all_values_source( std::forward< Fn >( function), in wait_all_values()
703 template< typename Fn, typename ... Fns >
707 typename std::result_of< Fn() >::type > > >
708 wait_all_until_error_source( Fn && function, Fns && ... functions) { in wait_all_until_error_source()
710 typedef typename std::result_of< Fn() >::type return_t; in wait_all_until_error_source()
719 std::forward< Fn >( function), in wait_all_until_error_source()
731 template< typename Fn, typename ... Fns >
732 std::vector< typename std::result_of< Fn() >::type >
733 wait_all_until_error( Fn && function, Fns && ... functions) { in wait_all_until_error()
735 typedef typename std::result_of< Fn() >::type return_t; in wait_all_until_error()
744 wait_all_until_error_source( std::forward< Fn >( function), in wait_all_until_error()
821 template< typename Fn, typename ... Fns >
822 std::vector< typename std::result_of< Fn() >::type >
823 wait_all_collect_errors( Fn && function, Fns && ... functions) { in wait_all_collect_errors()
825 typedef typename std::result_of< Fn() >::type return_t; in wait_all_collect_errors()
835 wait_all_until_error_source( std::forward< Fn >( function), in wait_all_collect_errors()