[Boost-bugs] [Boost C++ Libraries] #5511: Documentation needs some improvement

Subject: [Boost-bugs] [Boost C++ Libraries] #5511: Documentation needs some improvement
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-28 23:17:16


#5511: Documentation needs some improvement
------------------------------+---------------------------------------------
 Reporter: ramey | Owner: jano_gaspar
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: circular_buffer
  Version: Boost 1.46.1 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 Basically the whole library is quite good. But I have a couple of minor
 complaints.

 a) The documentation contains sentences like:


 {{{
 "iterator begin();

 Get the iterator pointing to the beginning of the circular_buffer.
 }}}

 I ''think'' the refers to the current front of the queue - where ever that
 falls in the underlying storage. This I could use this iterator to
 iterate from the oldest item to the most recent item. Naturally the value
 returned by this function call would change as items are popped of the
 queue. But it could also refer to the begin (and end) of underlying
 storage. I don't think it does this - but it's not clear from the
 documentation.

 b) I would also like to have a constructor which allows me to pass any
 pair of random access iterators (ie. a range) and have the circular buffer
 use that rather than allocating it's own storage. This would make the
 package more useful to me and i would hope others as well.

 Robert Ramey

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5511>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC