Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

试试 review 功能 #15

Closed
wants to merge 1 commit into from
Closed

试试 review 功能 #15

wants to merge 1 commit into from

Conversation

microcai
Copy link
Member

No description provided.

@microcai microcai requested a review from Jackarain October 13, 2024 15:48
Copy link
Member

@Jackarain Jackarain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看起来没有问题

@@ -172,7 +172,7 @@ namespace ucoro

template <typename A>
requires(detail::is_awaiter_v<std::decay_t<A>>)
auto await_transform(A&& awaiter) const
A&& await_transform(A&& awaiter) const
{
static_assert(std::is_rvalue_reference_v<decltype(awaiter)>, "co_await must be used on rvalue");
return std::forward<A>(awaiter);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里应该直接 std::move 可能会更好?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move 和 forward , 最后都是 static_cast<A&&> 吧。

@Jackarain Jackarain marked this pull request as ready for review October 13, 2024 15:53
@Jackarain Jackarain self-requested a review October 13, 2024 15:55
@microcai
Copy link
Member Author

image
这个 action 咋没变成 ok 的。是不是要在 workflow 里调用啥 actions

@microcai
Copy link
Member Author

status report 这个看来永不起来。

@microcai microcai closed this Oct 14, 2024
@microcai microcai deleted the for_review_test branch October 14, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants