vector.ch
Declarations
Public Only
Publicnamespace std
namespace std
Publicstruct vector
struct vector<T>
Publicfunction make
func make() : vector
Publicfunction make_with_capacity
func make_with_capacity(init_cap : size_t) : vector
Publicfunction resize
func resize(self : &vector, new_cap : size_t) : void
Publicfunction reserve
func reserve(self : &vector, cap : size_t) : void
Publicfunction ensure_capacity_for_one_more
func ensure_capacity_for_one_more(self : &vector) : void
Publicfunction push
func push(self : &vector, value : ) : void
Publicfunction push_back
func push_back(self : &vector, value : ) : void
Publicfunction get
func get(self : &vector, index : size_t) :
Publicfunction get_ptr
func get_ptr(self : &vector, index : size_t) : *
Publicfunction get_ref
func get_ref(self : &vector, index : size_t) : &
Publicfunction set
func set(self : &vector, index : size_t, value : ) : void
Publicfunction size
func size(self : &vector) : size_t
Publicfunction capacity
func capacity(self : &vector) : size_t
Publicfunction data
func data(self : &vector) : *
Publicfunction last_ptr
func last_ptr(self : &vector) : *
Publicfunction remove
func remove(self : &vector, index : size_t) : void
Publicfunction erase
func erase(self : &vector, index : size_t) : void
Publicfunction remove_last
func remove_last(self : &vector) : void
Publicfunction pop_back
func pop_back(self : &vector) : void
Publicfunction take_last
func take_last(self : &vector) :
Publicfunction empty
func empty(self : &vector) : bool
Publicfunction clear
func clear(self : &vector) : void
Publicfunction resize_unsafe
func resize_unsafe(self : &vector, new_size : size_t) : void
Publicfunction delete
func delete(self : &vector) : void