From e55eec22a7356ceef3f422ef64b986f88d95501a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 14 Jun 2022 07:28:28 +0300 Subject: Autocommit at 14.06.2022 @ 07:28 --- src/Generic/List/List.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Generic') 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 @@ -203,6 +203,11 @@ const T& List::operator[](unsigned index) const { return elements[index]; } +template +const T* List::raw_data() const { + return elements; +} + template List& List::operator+=(const List other) { for (unsigned i = 0; i < other.length; i++) -- cgit v1.3.1-26-gb76a