Ignore:
Timestamp:
Aug 25, 2017, 10:38:34 AM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
800d275
Parents:
af08051 (diff), 3eab308c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/vector/vector_int.h

    raf08051 r28e58fd  
    2424} vector_int;
    2525
    26 void ?{}( vector_int * );                                                               // allocate vector with default capacity
    27 void ?{}( vector_int *, int reserve );                                  // allocate vector with specified capacity
    28 void ?{}( vector_int * vec, vector_int other );                 // copy constructor
    29 void ^?{}( vector_int * );                                                              // deallocate vector's storage
     26void ?{}( vector_int & );                                                               // allocate vector with default capacity
     27void ?{}( vector_int &, int reserve );                                  // allocate vector with specified capacity
     28void ?{}( vector_int & vec, vector_int other );     // copy constructor
     29void ^?{}( vector_int & );                // deallocate vector's storage
    3030
    3131void reserve( vector_int *vec, int reserve );                   // reserve more capacity
     
    3434// implement bounded_array
    3535
    36 lvalue int ?[?]( vector_int * vec, int index );                 // access to arbitrary element (does not resize)
    37 int last( vector_int * vec );                                                   // return last element
     36int & ?[?]( vector_int * vec, int index );                              // access to arbitrary element (does not resize)
     37int last( vector_int * vec );             // return last element
    3838
    3939// Local Variables: //
Note: See TracChangeset for help on using the changeset viewer.