Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic
diff options
context:
space:
mode:
Commite55eec22a7356ceef3f422ef64b986f88d95501a (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-06-14 07:28:28 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-06-14 07:28:28 +0300
Fileseb3c9fb45d0dbab1e92559a0ad48acc2fb987e29 /src/Generic
FMI-OOP-P2_Tables-e55eec22a7356ceef3f422ef64b986f88d95501a.tar
FMI-OOP-P2_Tables-e55eec22a7356ceef3f422ef64b986f88d95501a.tar.gz
FMI-OOP-P2_Tables-e55eec22a7356ceef3f422ef64b986f88d95501a.zip
Parent2c961228ea05472cb86eab289f5f7859f492190b (diff)
Autocommit at 14.06.2022 @ 07:28
1 files changed, 5 insertions, 0 deletions
-rw-r--r--src/Generic/List/List.hpp5
diff --git a/src/Generic/List/List.hpp b/src/Generic/List/List.hpp
index ba4851c..f26e7d1 100644
--- a/src/Generic/List/List.hpp
+++ b/src/Generic/List/List.hpp
@@ -204,6 +204,11 @@ const T& List<T>::operator[](unsigned index) const {
}
template <typename T>
+const T* List<T>::raw_data() const {
+ return elements;
+}
+
+template <typename T>
List<T>& List<T>::operator+=(const List<T> other) {
for (unsigned i = 0; i < other.length; i++)
add(other[i]);