changeset 8952 | be6bfd75e554 |
parent 8951 | 618a0b1a5061 |
child 9111 | 48ce04029fe4 |
8951:618a0b1a5061 | 8952:be6bfd75e554 |
---|---|
47 |
47 |
48 T *End() |
48 T *End() |
49 { |
49 { |
50 return &data[items]; |
50 return &data[items]; |
51 } |
51 } |
52 |
|
53 const T *Get(size_t index) const |
|
54 { |
|
55 return &data[index]; |
|
56 } |
|
57 |
|
58 T *Get(size_t index) |
|
59 { |
|
60 return &data[index]; |
|
61 } |
|
52 }; |
62 }; |
53 |
63 |
54 #endif /* SMALLVEC_H */ |
64 #endif /* SMALLVEC_H */ |