Skip to content

Commit

Permalink
Adding boost::result_of support for bind
Browse files Browse the repository at this point in the history
Fixing minor problems related to it.

Fixes #383
  • Loading branch information
Thomas Heller committed Feb 13, 2013
1 parent 06b45e3 commit 59aeee1
Show file tree
Hide file tree
Showing 8 changed files with 10,273 additions and 342 deletions.
4 changes: 2 additions & 2 deletions hpx/lcos/local/packaged_continuation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ namespace hpx { namespace lcos
typedef lcos::detail::continuation_base<result_type> cont_impl_type;
boost::intrusive_ptr<cont_impl_type> p(
detail::make_continuation_base<result_type, Result>(
util::bind(boost::forward<F>(f), util::placeholders::_1)));
util::bind(util::protect(boost::forward<F>(f)), util::placeholders::_1)));

// bind an on_completed handler to this future which will invoke the
// continuation
Expand All @@ -481,7 +481,7 @@ namespace hpx { namespace lcos
typedef lcos::detail::continuation_base<result_type> cont_impl_type;
boost::intrusive_ptr<cont_impl_type> p(
detail::make_continuation_base<result_type, void>(
util::bind(boost::forward<F>(f), util::placeholders::_1)));
util::bind(util::protect(boost::forward<F>(f)), util::placeholders::_1)));

// bind an on_completed handler to this future which will invoke the
// continuation
Expand Down

0 comments on commit 59aeee1

Please sign in to comment.