Changeset 9a4e996 for src/tests/vector/vector_int.h
- Timestamp:
- Aug 8, 2017, 8:04:39 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 533804b
- Parents:
- b0440b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/vector/vector_int.h
rb0440b7 r9a4e996 26 26 27 27 void ?{}( vector_int & ); // allocate vector with default capacity 28 void ?{}( vector_int &, int reserve ); 29 void ?{}( vector_int & vec, vector_int other ); 28 void ?{}( vector_int &, int reserve ); // allocate vector with specified capacity 29 void ?{}( vector_int & vec, vector_int other ); // copy constructor 30 30 void ^?{}( vector_int & ); // deallocate vector's storage 31 31 … … 35 35 // implement bounded_array 36 36 37 lvalue int ?[?]( vector_int * vec, int index );// access to arbitrary element (does not resize)38 int last( vector_int * vec ); 37 int & ?[?]( vector_int * vec, int index ); // access to arbitrary element (does not resize) 38 int last( vector_int * vec ); // return last element 39 39 40 40 #endif // VECTOR_INT_H
Note: See TracChangeset
for help on using the changeset viewer.