cds
2.3.2
|
Single bucket threshold resizing policy. More...
#include <cds/intrusive/striped_set/resizing_policy.h>
Public Member Functions | |
template<typename Container , typename Bucket > | |
bool | operator() (size_t, Container const &, Bucket const &bucket) const |
Main policy operator returns true when resizing is needed. More... | |
void | reset () |
Resets internal state of the policy (does nothing) | |
Single bucket threshold resizing policy.
If any single bucket size exceeds the global Threshold
then resizing is needed.
This policy is stateless.
|
inline |
Main policy operator returns true
when resizing is needed.
bucket | reference to a container's bucket |