diff options
author | Benji Dial <benji@benjidial.net> | 2024-07-29 21:26:17 -0400 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-07-29 21:26:17 -0400 |
commit | c34b9191f258ddc15c5b45c000cd0266aed9dead (patch) | |
tree | 88e66004d1514d6f22b4366fc415b467784fee63 /euler/include | |
parent | e6c3a80b01ffb52079783cddd9be6d392d0f7039 (diff) | |
download | hilbert-os-c34b9191f258ddc15c5b45c000cd0266aed9dead.tar.gz |
window borders
Diffstat (limited to 'euler/include')
-rw-r--r-- | euler/include/std/list.hpp | 5 |
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; } + }; } |