|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
RAII vector of (count, MPI_Datatype) pairs that frees every committed datatype when destroyed.
More...
#include <MPI.hpp>
Public Types | |
| using | tSelf = MPITypePairHolder |
| using | tBase = tMPI_typePairVec |
Public Member Functions | |
| template<typename... Args> | |
| MPITypePairHolder (shared_ctor_guard g, Args &&...args) | |
Perfect-forwarding factory; returns shared_ptr<MPITypePairHolder>. | |
| ~MPITypePairHolder () | |
| void | clear () |
| Free every committed datatype and empty the vector. | |
Static Public Member Functions | |
| template<typename... Args> | |
| static ssp< MPITypePairHolder > | create (Args &&...args) |
| Only public path to construct an instance; forwards to the private constructor. | |
RAII vector of (count, MPI_Datatype) pairs that frees every committed datatype when destroyed.
Used by ArrayTransformer to hold the derived datatypes it builds via MPI_Type_create_hindexed. Construction is channelled through the static create factory so instances are always owned by shared_ptr<MPITypePairHolder> and correctly registered with the ResourceRecycler.
|
inline |
Perfect-forwarding factory; returns shared_ptr<MPITypePairHolder>.
Definition at line 348 of file MPI.hpp.
|
inline |
|
inline |
|
inlinestatic |