Udostępnij za pośrednictwem


choice::index Method

Returns an index into the tuple representing the element selected by the choice messaging block.

size_t index();

Return Value

The message index.

Remarks

The message payload can be extracted using the get method.

Requirements

Header: agents.h

Namespace: Concurrency

See Also

Reference

choice Class