July 2007
Intermediate to advanced
332 pages
10h 4m
English
These operations are not thread-safe on the same instance:
concurrent_vector()
Effects: constructs an empty vector.
concurrent_vector( const concurrent_vector& src )
Effects: constructs a copy of src.
concurrent_vector&operator=( const concurrent_vector& src )
Effects: assigns contents of src to *this.
Returns: reference to lefth and side.
~concurrent_vector()
Effects: erases all elements and destroys the vector.
void clear()
Effects: erases all elements. Afterward, size()==0.