This commit is contained in:
2024-12-03 01:03:32 +03:30
parent de90f2d5fb
commit 29c9df62c5
7 changed files with 6420 additions and 332 deletions
+29
View File
@@ -10362,6 +10362,35 @@ bool GetLastItem(
return result;
}
//
// Remove Last Item of Specified Buffer ...
template <typename T>
bool RemoveLastItem(
T &buffer[] // Specified Buffer
)
{
//
bool result = false;
//
int count = ArraySize(buffer);
result = IsValidSize(count);
if (!result)
{
return result;
}
//
ArrayRemove(
buffer,
count - 1,
1 //
);
//
return result;
}
//
// Search Array For Specific Item ...
template <typename T>