Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: linearArray.hpp
- Revision:
- 10:864b79e79ca8
- Parent:
- 9:68d882e457c5
- Child:
- 11:1e27a6f0b0cf
- Child:
- 12:e4f557b33732
--- a/linearArray.hpp Tue Mar 14 10:05:47 2017 +0000
+++ b/linearArray.hpp Tue Mar 14 12:12:53 2017 +0000
@@ -1,6 +1,13 @@
+
+
+//Serial pc(PTE0,NC);
+
template<class type>
LinearArray<type>::LinearArray(int size, bool forced) :
_elem_count(0), _array_size(size), _front(0), _rear(-1), _forced(forced) {
+
+ linear_array_count++;
+ linear_array_memeory_used += sizeof(type) * size;
_array = new (std::nothrow) type[size];
}