KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
Loading...
Searching...
No Matches
kamping::AllocContainerOfT< T > Struct Template Reference

Buffer allocation tag used for indicating that a buffer of type T should be allocated by KaMPIng. More...

#include <data_buffer.hpp>

Public Types

using value_type = T
 The value type to use for the allocated buffer.
 

Detailed Description

template<typename T>
struct kamping::AllocContainerOfT< T >

Buffer allocation tag used for indicating that a buffer of type T should be allocated by KaMPIng.

Template Parameters
TThe value type to use for the allocated buffer.

Passing this to a buffer creation function (such as recv_counts_out()) indicates, that the MPI operation should allocate an appropriately sized buffer of value type T internally. The allocation is deferred until the MPI operation is executed and the actual type of the container is determined by the MPI operation (usually Communicator::default_container_type).


The documentation for this struct was generated from the following file: