pop_mpi_connection::pop_mpi_connection(pop_mpi_connection& me) : pop_connection(me.GetCombox(), me.GetBufferFactory()), _is_connected(false), _has_communicator(false), _connection_index(0), _is_asynchronous(false), _tag_set(false) { set_communicator(me.get_communicator()); set_connection_index(me.get_connection_index()); }
void set_communicator(const void* comm) { set_communicator( reinterpret_cast<size_t>(comm) ); }