finish bonus 2
This commit is contained in:
@ -348,11 +348,13 @@ class vector {
|
||||
* returns an iterator to the beginning.
|
||||
*/
|
||||
iterator begin() { return iterator(this, raw_beg); }
|
||||
const_iterator begin() const { return const_iterator(this, raw_beg); }
|
||||
const_iterator cbegin() const { return const_iterator(this, raw_beg); }
|
||||
/**
|
||||
* returns an iterator to the end.
|
||||
*/
|
||||
iterator end() { return iterator(this, raw_end); }
|
||||
const_iterator end() const { return const_iterator(this, raw_end); }
|
||||
const_iterator cend() const { return const_iterator(this, raw_end); }
|
||||
/**
|
||||
* checks whether the container is empty
|
||||
|
Reference in New Issue
Block a user