Debian Codegraph @

yo/classtemplates/vector/vector1.h

raw
1 template <typename Type>
2 class Vector
3 {
4 void construct(Vector<Type> const &other);
5 Type
6 *d_start,
7 *d_finish,
8 *d_end_of_storage;
9 public:
10 using reverse_iterator = reverse_iter<Type>;
11
12 Vector();
13 Vector(size_t n);
14 Vector(Vector<Type> const &other);
15 ~Vector();
16 Vector<Type> const &operator=(Vector<Type> const &other);
17 Type &operator[](int index);
18 Vector<Type> &sort();
19 void push_back(Type const &value);
20 Type *begin();
21 Type *end();
22 reverse_iterator rbegin();
23 reverse_iterator rend();
24 size_t size();
25 };