chuck/include/util_buffers.h
// put one element
// returns number of elements successfully put
put one element
returns number of elements successfully put
put one element returns number of elements successfully put
size_t put(T element)
    {
        if((m_write + 1)%m_numElements == m_read)
        {
            return 0;
        }
        m_elements[m_write] = element;
        m_write = (m_write+1)%m_numElements;
        return 1;
    }
size_t put ( T element ) { if ( ( m_write + 1 ) % m_numElements == m_read ) { return 0 ; } m_elements [ m_write ] = element ; m_write = ( m_write + 1 ) % m_numElements ; return 1 ; }
put one element
returns number of elements successfully put
put one element returns number of elements successfully put
// no space