vt::messaging::MergedClosure struct

A copyable closure that holds a PendingSend that will be released when all shared instances of this closure are destroyed.

Constructors, destructors, conversion operators

MergedClosure(std::shared_ptr<PendingSend> shared_state) explicit
Construct from a shared pointer to a PendingSend.
MergedClosure(MergedClosure const&) defaulted
MergedClosure(MergedClosure&& in) defaulted

Public functions

void operator()()

Function documentation

vt::messaging::MergedClosure::MergedClosure(std::shared_ptr<PendingSend> shared_state) explicit

Construct from a shared pointer to a PendingSend.

Parameters
shared_state in the PendingSend that will be released