Website Summary Files Commits Branches @commit @diff @stats
path: root / src / List / List.cpp
diff options
context:
space:
mode:
1 files changed, 10 insertions, 0 deletions
-rw-r--r--src/List/List.cpp10
diff --git a/src/List/List.cpp b/src/List/List.cpp
index 66d66df..1ad0679 100644
--- a/src/List/List.cpp
+++ b/src/List/List.cpp
@@ -50,6 +50,16 @@ T& List<T>::operator[](unsigned index) {
return elements[index];
}
+template <class T>
+unsigned List<T>::get_length() const {
+ return length;
+}
+
+template <class T>
+unsigned List<T>::get_count() const {
+ return count;
+}
+
// Rule of 4
template <class T>