Menu

#34 circular_queue documentation bugs

cvs-current
closed
nobody
asl (8)
5
2006-04-14
2006-03-26
No

Perhaps I misunderstand this class, but the
documentation for circular_queue seems to be incomplete.

The Detailed Description says:

Detailed Description
template<typename T>
class adobe::circular_queue< T >

Template Parameters:

* T The queue's value type: the type of object
that is stored in the queue.
* Capacity The capacity for the queue. Must be
greater than 0.

But Capacity is *not* a template parameter.

There is a constructor that takes a size_t, but it
lives inside a #if !defined(ADOBE_NO_DOCUMENTATION)
block, so it isn't included in the documentation.

Discussion

  • Sean Parent

    Sean Parent - 2006-03-27

    Logged In: YES
    user_id=1227609

    You are correct - the documentation is out of sync with the implementation. I'll
    try and get this fixed for the next release.
    Seam

     
  • Sean Parent

    Sean Parent - 2006-03-30

    Logged In: YES
    user_id=1227609

    Updated documentation submitted for 1.0.15.

     
  • Sean Parent

    Sean Parent - 2006-03-30
    • status: open --> pending
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB