KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
|
Buffer allocation tag used for indicating that a buffer should be allocated by KaMPIng. More...
#include <data_buffer.hpp>
Public Types | |
template<typename... Ts> | |
using | container_type = Container<Ts...> |
The container type to allocate. | |
Buffer allocation tag used for indicating that a buffer should be allocated by KaMPIng.
Container | A container template to use for allocation. |
Passing this with an appropriate template parameter to a buffer creation function (such as recv_counts_out()
) indicates, that the MPI operation should allocate an appropriately sized buffer of type Container<T>
internally, where T
is automatically determined.
In case of recv_counts_out(alloc_new_using<std::vector>)
this means, that internally, a std::vector<int>
is allocated.
using kamping::AllocNewUsingT< Container >::container_type = Container<Ts...> |
The container type to allocate.
Ts | The template parameters for the container. |