Commit 694c1cbc authored by Shai Szulanski's avatar Shai Szulanski Committed by Facebook GitHub Bot

Add deduction guide to co_result

Reviewed By: yfeldblum, lewissbaker

Differential Revision: D23240860

fbshipit-source-id: 74aab6151c9c44159a2d3fc4e041b475b69e29e7
parent c4c78b82
...@@ -70,6 +70,9 @@ class co_result final { ...@@ -70,6 +70,9 @@ class co_result final {
Try<T> result_; Try<T> result_;
}; };
template <class T>
co_result(Try<T>)->co_result<T>;
namespace detail { namespace detail {
class TaskPromiseBase { class TaskPromiseBase {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment