共用方式為


unbounded_buffer::supports_anonymous_source Method

Overrides the supports_anonymous_source method to indicate that this block can accept messages offered to it by a source that is not linked.

virtual bool supports_anonymous_source();

Return Value

true because the block does not postpone offered messages.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

unbounded_buffer Class