darray: add 'full' query
This commit is contained in:
parent
d73c33c4bd
commit
1ccabff51c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user