K-ballo changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar.cct.lsu.edu | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | Buildbot: http://rostam.cct.lsu.edu/ | Log: http://irclog.cct.lsu.edu/
<jaafar>
Is there any info or advice about cancelling work?
<jaafar>
As in, you've launched a task (possibly deferred) and you realize the result is no longer required
<jaafar>
I see some hints in the docs but no details
<hkaiser>
jaafar: currently you need to actively cancel the task from its inside
<hkaiser>
pass along a cancellation token
<hkaiser>
or use hpx::stop_token (similar to std::stop_token)
surbhi has quit [Quit: Connection closed for inactivity]
hkaiser has quit [Quit: bye]
<gnikunj[m]>
K-ballo1: I have a class foo with deleted copy constructor foo(const foo&) and instead I provide 2 overloads foo(foo&) and foo(foo&&). In a function that returns foo, it still leads to compilation error saying that foo(const foo&) is deleted.
<gnikunj[m]>
how can I make it such that it takes one of foo(foo&) or foo(foo&&)?