Basic scaffolding for allocator support in coroutines, to the best of my knowledge and abilities (arguably that's not much). @lewissbaker @__phantomderp (hashtag bloomberg)
3
2
21
I kind of wish you didn't have to put them on the `foo`. Maybe if there was some syntax like coawait(std::allocator<coroutine::promise_type>()) foo(); that took care of that. I think someone would assassinate me for that syntax, though....
1
0
1
Hey, miss angle brackets!
1
0
2
<<< co_await <|allocator|>() >>>
2
0
2
await (optional_allocator) foo(); Basically same as with new() foo. No co_
1
0
3
Well, good luck with those papers. :D
2
0
3
You should co_author
1
0
5

6:59 PM · Jan 12, 2021

0
0
0
GIF