From 12c45a21b4f223ca2a4ccba42ade2366f4dbde5c Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 6 Feb 2023 12:10:23 -0800 Subject: C++: Add dictionary and array size method Thanks @Cryptiiiic for the contribution. --- src/Array.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Array.cpp') diff --git a/src/Array.cpp b/src/Array.cpp index 2722d14..7826494 100644 --- a/src/Array.cpp +++ b/src/Array.cpp @@ -128,6 +128,10 @@ Array::const_iterator Array::end() const return _array.end(); } +const size_t Array::size() const { + return _array.size(); +} + void Array::Append(Node* node) { if (node) -- cgit v1.1-32-gdbae