Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Even though it acts as a container, `boost::concurrent_node_set` does not model the standard C++ https://en.cppreference.com/w/cpp/named_req/Container[Container^] concept. In particular, iterators and associated operations (尽管 `boost::concurrent++_++node++_++set` 的行为类似于容器,但它并不符合标准 C{plus}{plus} https://en.cppreference.com/w/cpp/named_req/Container[容器] 概念。具体而言,它不提供迭代器及相关操作(如 `begin`,、 `end`, etc.) are not provided. Element access is done through user-provided _visitation functions_ that are passed to `concurrent_node_set` operations where they are executed internally in a controlled fashion. Such visitation-based API allows for low-contention concurrent usage scenarios.等)。元素的访问通过用户提供的 _访问函数_ 实现,这些函数被传递至 `concurrent++_++node++_++set` 的内部操作,并以受控方式执行。这种基于访问的 API 设计支持低竞争度的并发使用场景。