Share via


single_assignment::has_value Method

Checks whether this single_assignment messaging block has been initialized with a value yet.

bool has_value() const;

Return Value

true if the block has received a value, false otherwise.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

single_assignment Class