-
Notifications
You must be signed in to change notification settings - Fork 28
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
Can't erase on vector<cobalt::promise<void>> #159
Comments
It looks like the promises are currently not assignable. I'll fix this, but that won't make it into boost before 1.86. In the meantime a list should work. |
Actually made it into the last release, can you verify the current boost release solved the issue? |
Will check soon. I'm using boost via conan. As soon as the release is
available there.
Thanks.
…On Thu, 2 May 2024 at 01:41, Klemens Morgenstern ***@***.***> wrote:
Actually made it into the last release, can you verify the current boost
release solved the issue?
—
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKTWNTUYUPWQUMAIRHYXHPTZAGDSTAVCNFSM6AAAAABERCO2WWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBZGM2DIMRQGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I believe the fix isn't on boost 1.85. The error is still happening. |
Seems I didn't merge in time. That's a shame. |
No worries. Let's check on the next one.
Thanks again!
…On Fri, 10 May 2024 at 02:22, Klemens Morgenstern ***@***.***> wrote:
Seems I didn't merge in time. That's a shame.
—
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKTWNTTGCBMWCOEAJKT5UP3ZBQOMBAVCNFSM6AAAAABERCO2WWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBTGY4DENJRGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using a vector or a deque to wait for my promises to complete.
std::deque<boost::cobalt::promise<void>> session_promisses;
When I try to erase,
session_promisses.erase(session_promisses.begin() + session_index);
I get the following error:
use of deleted function ‘boost::cobalt::detail::promise_receiver& boost::cobalt::detail::promise_receiver::operator=(const boost::cobalt::detail::promise_receiver&)’
[build] 92 | receiver_ = std::move(lhs.receiver_);
The text was updated successfully, but these errors were encountered: