We dont have to use the same queue as tags, which was just a convenience. It may simplify the code to just use a different vector/queue for the messages.
The msg vs tag API is already separate, this would however mean that one couldn't access the messages through the tag iterator (that might be a good thing).
Also think about how one might iterate through multiple messages rather than simply the pop() call that returns front. -- see #53
We dont have to use the same queue as tags, which was just a convenience. It may simplify the code to just use a different vector/queue for the messages.
The msg vs tag API is already separate, this would however mean that one couldn't access the messages through the tag iterator (that might be a good thing).
Also think about how one might iterate through multiple messages rather than simply the pop() call that returns front. -- see #53