diff options
author | Alexis211 <alexis211@gmail.com> | 2009-09-18 14:26:29 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-09-18 14:26:29 +0200 |
commit | f593816bc9c32a8570cf65697183f314348e8e87 (patch) | |
tree | ae4cb3fbc64834818a6aabe04cfdd429e9da70b5 /Source/Kernel/Library/Vector.class.h | |
parent | 8862994499de563b763607fff3f39a8a28c553b3 (diff) | |
download | Melon-f593816bc9c32a8570cf65697183f314348e8e87.tar.gz Melon-f593816bc9c32a8570cf65697183f314348e8e87.zip |
Changes in mutexes, vectors and VTs :
mutexes now use the atomic_exchang defined in Task.wtf.asm
some vector methods are now declared const
VTs now can display (decimal) 64bit integers
Diffstat (limited to 'Source/Kernel/Library/Vector.class.h')
-rw-r--r-- | Source/Kernel/Library/Vector.class.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Kernel/Library/Vector.class.h b/Source/Kernel/Library/Vector.class.h index ca86c2a..61c26a4 100644 --- a/Source/Kernel/Library/Vector.class.h +++ b/Source/Kernel/Library/Vector.class.h @@ -17,17 +17,17 @@ class Vector { Vector<T>& operator= (const Vector<T> &other); ~Vector(); - T& operator[] (u32int index); + T& operator[] (u32int index) const; void push(const T& element); //void push(T& element); void pop(); - T& back(); - T& front(); + T& back() const; + T& front() const; - u32int size(); - bool empty(); + u32int size() const; + bool empty() const; void clear(); }; |