diff --git a/array/darray.hpp b/array/darray.hpp index ea5a67fe..aa19023b 100644 --- a/array/darray.hpp +++ b/array/darray.hpp @@ -85,7 +85,9 @@ namespace cruft { std::size_t size (void) const noexcept { return m_size; } constexpr auto capacity (void) const noexcept { return CapacityV; } - constexpr auto empty (void) const noexcept { return !!m_size; } + + constexpr bool empty (void) const noexcept { return !!m_size; } + constexpr bool full (void) const noexcept { return m_size == CapacityV; } void erase (iterator pos)