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_map` 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++_++map` 的行为类似于容器,但它并不符合标准 C{plus}{plus} 的 https://en.cppreference.com/w/cpp/named_req/Container[容器] 概念模型。具体而言,它不提供迭代器及相关操作(如 `begin`,、 `end`, etc.) are not provided. Element access and modification are done through user-provided _visitation functions_ that are passed to `concurrent_node_map` operations where they are executed internally in a controlled fashion. Such visitation-based API allows for low-contention concurrent usage scenarios.等)。元素的访问和修改通过用户提供的__访问函数__来实现,这些函数被传递至 `concurrent++_++node++_++map` 的操作中,并在其内部以受控方式执行。这种基于访问的 API 设计能够支持低争用的并发应用场景。