Added DynamicArray, DynamicList, and HashMap

This commit is contained in:
Vinnie Falco
2013-09-01 16:09:07 -07:00
parent 81e5b59060
commit de2c4cc7b8
16 changed files with 2661 additions and 822 deletions

View File

@@ -91,10 +91,17 @@ public:
After creation, you can resize the array using the malloc(), calloc(),
or realloc() methods.
*/
HeapBlock() noexcept : data (nullptr)
HeapBlock() noexcept
: data (nullptr)
{
}
HeapBlock (HeapBlock& other)
{
data = other.data;
other.data = nullptr;
}
/** Creates a HeapBlock containing a number of elements.
The contents of the block are undefined, as it will have been created by a