std::vector

GPTKB entity

Statements (53)
Predicate Object
gptkbp:instanceOf C++ Standard Library container
gptkbp:alternativeTo gptkb:std::deque
gptkb:std::list
std::array
std::forward_list
gptkbp:comparisonOperators supported
gptkbp:complexity_insert_erase_middle linear time
gptkbp:complexity_push_back amortized constant time
gptkbp:complexity_random_access constant time
gptkbp:copySemantics supported
gptkbp:defaultAllocator std::allocator
gptkbp:definedIn <vector> header
gptkbp:elementStorage contiguous memory
gptkbp:empty supported
gptkbp:exceptionSafety strong guarantee for most operations
https://www.w3.org/2000/01/rdf-schema#label std::vector
gptkbp:introducedIn gptkb:C++98
gptkbp:iteratorType random access iterator
gptkbp:max_size supported
gptkbp:moveSemantics supported (since C++11)
gptkbp:namespace std
gptkbp:operator gptkb:fire
clear
end
insert
size
at
back
capacity
reserve team
begin
random access
dynamic resizing
pop_back
push_back
rend
operator[]
cbegin
cend
crbegin
crend
erase
rbegin
shrink_to_fit
gptkbp:parameter T (element type)
gptkbp:resize supported
gptkbp:serialization not natively supported
gptkbp:standardizedBy gptkb:ISO_C++
gptkbp:swap supported
gptkbp:threadSafe not thread-safe
gptkbp:uses dynamic array
gptkbp:bfsParent gptkb:std::flat_set
gptkbp:bfsLayer 7