summaryrefslogtreecommitdiff
path: root/euler
diff options
context:
space:
mode:
Diffstat (limited to 'euler')
-rw-r--r--euler/include/std/list.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/euler/include/std/list.hpp b/euler/include/std/list.hpp
index c0d6e21..030eccc 100644
--- a/euler/include/std/list.hpp
+++ b/euler/include/std/list.hpp
@@ -155,6 +155,11 @@ namespace std {
return *this;
}
+ T &back() { return last_node->value; }
+ const T &back() const { return last_node->value; }
+
+ size_t size() const noexcept { return count; }
+
};
}