Try something like this - the bulge_chasing_server is the component type
and the id is in bulge_chaser_id, when done, bc contains the pointer to
the bulge_chaser object itself

auto bc = 
std::dynamic_pointer_cast<hpx_m::bulge_chasing_server>(hpx::get_ptr<hpx_m::
bulge_chasing_server>(hpx::launch::sync, bulge_chaser_id));

JB




On 31/08/16 09:20, "[email protected] on behalf of Tim
Biedert" <[email protected] on behalf of
[email protected]> wrote:

>Hello,
>
>given a server component's id_type, is it possible to retrieve the raw
>address (pointer) of the instance (on the same locality of course) ?
>
>Thanks!
>
>

_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to