.. index:: pair: class; gpr::MpiLifetime .. _doxid-classgpr_1_1_mpi_lifetime: class gpr::MpiLifetime ====================== .. toctree:: :hidden: Overview ~~~~~~~~ A native entry point finalizes only the MPI world it initializes. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class MpiLifetime { public: // construction :target:`MpiLifetime`(int& argc, char**& argv); :target:`MpiLifetime`(const MpiLifetime&); :target:`~MpiLifetime`(); // methods :ref:`MpiLifetime`& :target:`operator=`(const :ref:`MpiLifetime`&); void :target:`finalize`(); bool :target:`borrowed`() const; static bool& :ref:`ownedWorldPending`(); }; .. _details-classgpr_1_1_mpi_lifetime: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ A native entry point finalizes only the MPI world it initializes. Methods ------- .. index:: pair: function; ownedWorldPending .. _doxid-classgpr_1_1_mpi_lifetime_1a20c9b9c32fba5783ec19b6a8da30ad1e: .. ref-code-block:: cpp :class: doxyrest-title-code-block static bool& ownedWorldPending() Set when an owned world was left open by an escaping exception.