Closed hkaiser closed 6 years ago
Awesome!
Can you send me the snippet of how you define construct_promise and destruct_promise in the traits for hpx::future?
Gor
From: Hartmut Kaiser [mailto:notifications@github.com] Sent: Monday, May 4, 2015 2:04 PM To: GorNishanov/Docs Subject: Re: [Docs] Adding construct_promise and destruct_promise (#1)
While not directly related to standardization, here is an implementation for VS2015rc which adds the new functions: https://gist.github.com/hkaiser/e727204f2766055eee24
— Reply to this email directly or view it on GitHubhttps://github.com/GorNishanov/Docs/pull/1#issuecomment-98815153.
For posterity, here is the code you asked for:
It's all here: https://github.com/STEllAR-GROUP/hpx/blob/vs2015rc_await/hpx/lcos/local/promise.hpp#L761 The allocator is here: https://github.com/STEllAR-GROUP/hpx/blob/vs2015rc_await/hpx/lcos/local/promise.hpp#L557
This can probably be closed.
Ack
While not directly related to standardization, here is an implementation for VS2015rc which adds the new functions: https://gist.github.com/hkaiser/e727204f2766055eee24