40 : _tagvalue(
other._tagvalue), _comm(
other._comm)
48 : _tagvalue(
other._tagvalue), _comm(
other._comm)
51 other._comm =
nullptr;
79 other._comm =
nullptr;
void reference_unique_tag(int tagvalue) const
Reference an already-acquired tag, so that we know it will be dereferenced multiple times before we c...
void dereference_unique_tag(int tagvalue) const
Dereference an already-acquired tag, and see if we can re-release it.
Encapsulates the MPI tag integers.
const Communicator * _comm
MessageTag(int tagvalue=invalid_tag)
Explicit constructor, to discourage using "magic numbers" as tags.
MessageTag & operator=(const MessageTag &other)
Copy assignment operator.
Tnew cast_int(Told oldvar)