Searched refs:m_container (Results 1 – 3 of 3) sorted by relevance
34 explicit bounded_buffer(size_type capacity) : m_unread(0), m_container(capacity) {} in bounded_buffer()39 m_container.push_front(item); in push_front()48 *pItem = m_container[--m_unread]; in pop_back()58 bool is_not_full() const { return m_unread < m_container.capacity(); } in is_not_full()61 container_type m_container; member in bounded_buffer76 explicit bounded_buffer_space_optimized(size_type capacity) : m_container(capacity) {} in bounded_buffer_space_optimized()81 m_container.push_front(item); in push_front()89 *pItem = m_container.back(); in pop_back()90 m_container.pop_back(); in pop_back()100 bool is_not_empty() const { return m_container.size() > 0; } in is_not_empty()[all …]
34 explicit bounded_buffer(size_type capacity) : m_unread(0), m_container(capacity) {} in bounded_buffer()41 m_container.push_front(item); in push_front()50 *pItem = m_container[--m_unread]; in pop_back()60 bool is_not_full() const { return m_unread < m_container.capacity(); } in is_not_full()63 container_type m_container; member in bounded_buffer88 Buffer* m_container; member in Producer91 Producer(Buffer* buffer) : m_container(buffer) in Producer()98 m_container->push_front(value_type()); in operator ()()108 Buffer* m_container; member in Consumer112 Consumer(Buffer* buffer) : m_container(buffer) in Consumer()[all …]