Tervel
1.0.0
A collection of wait-free containers and algorithms.
|
#include <vector_array.h>
Public Member Functions | |
VectorArray () | |
VectorArray (size_t capacity) | |
virtual | ~VectorArray () |
virtual std::atomic< T > * | get_spot (const size_t raw_pos, const bool no_add=false)=0 |
This function returns the address of the specified position. More... | |
virtual bool | is_valid (T value) |
virtual bool | is_descriptor (T &expected, std::atomic< T > *spot) |
Overridden by SingleArray model to detect resize. More... | |
|
inlineexplicit |
|
inlineexplicit |
|
inlinevirtual |
|
pure virtual |
This function returns the address of the specified position.
raw_pos | the position |
no_add | if true then it will not increase the vectors size |
Implemented in tervel::containers::wf::vector::ArrayArray< T >.
|
inlinevirtual |
Overridden by SingleArray model to detect resize.
expected | [description] |
spot | [description] |
|
inlinevirtual |