Searched refs:m_unread (Results 1 – 3 of 3) sorted by relevance
34 explicit bounded_buffer(size_type capacity) : m_unread(0), m_container(capacity) {} in bounded_buffer()42 ++m_unread; in push_front()50 *pItem = m_container[--m_unread]; in pop_back()59 bool is_not_empty() const { return m_unread > 0; } in is_not_empty()60 bool is_not_full() const { return m_unread < m_container.capacity(); } in is_not_full()62 size_type m_unread; member in bounded_buffer
34 explicit bounded_buffer(size_type capacity) : m_unread(0), m_container(capacity) {} in bounded_buffer()40 ++m_unread; in push_front()48 *pItem = m_container[--m_unread]; in pop_back()57 bool is_not_empty() const { return m_unread > 0; } in is_not_empty()58 bool is_not_full() const { return m_unread < m_container.capacity(); } in is_not_full()60 size_type m_unread; member in bounded_buffer