Compartir a través de


single_assignment::value Method

Gets a reference to the current payload of the message being stored in the single_assignment messaging block.

_Type const & value();

Return Value

The payload of the stored message.

Remarks

This method will wait until a message arrives if no message is currently stored in the single_assignment messaging block.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

single_assignment Class