Since the API is fairly similar between hpx
and #include<thread>
is it possible to have the same code be able to run hpx
or #include<thread>
?
Since boost is a requirement of hpx
, my use case here is there are systems that aren't allowed boost and some that are, I want the same code to run on both, but use hpx
if possible.
Assuming I'm only using features that are in both hpx and thread, Is there an example of doing this? Would I even be able to via #ifdef
?