summaryrefslogtreecommitdiff
path: root/euler/include/std
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-07-29 21:26:17 -0400
committerBenji Dial <benji@benjidial.net>2024-07-29 21:26:17 -0400
commitc34b9191f258ddc15c5b45c000cd0266aed9dead (patch)
tree88e66004d1514d6f22b4366fc415b467784fee63 /euler/include/std
parente6c3a80b01ffb52079783cddd9be6d392d0f7039 (diff)
downloadhilbert-os-c34b9191f258ddc15c5b45c000cd0266aed9dead.tar.gz
window borders
Diffstat (limited to 'euler/include/std')
-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; }
+
};
}