a stack doesn't need iteration functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2191 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -38,14 +38,6 @@ template<class T> class Stack {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GetPointerAt(int32 index, T **value)
|
|
||||||
{
|
|
||||||
if (index < 0 || index >= fUsed)
|
|
||||||
return false;
|
|
||||||
*value = &(fArray[index]);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Pop(T *value)
|
bool Pop(T *value)
|
||||||
{
|
{
|
||||||
if (fUsed == 0)
|
if (fUsed == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user