Modify

Opened 6 years ago

Closed 6 years ago

#6223 closed Bugs (fixed)

Wrong documentation for slist::splice

Reported by: stheophil@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: intrusive
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

Two splice / splice_after calls are not correctly documented at http://www.boost.org/doc/libs/1_48_0/doc/html/boost/intrusive/slist.html#id1203131-b

  1. iterator splice_after(const_iterator prev, slist & x) ;

Requires: prev is an iterator to an element or x.end()/x.before_begin() in x.

  1. void splice(const_iterator it, slist & x, const_iterator * last = 0);

Requires: it is an iterator to an element in x.

In both cases (as in all other splice calls) the first parameter must be an iterator into this and not x.

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by Ion Gaztañaga

Resolution: fixed
Status: newclosed

Thanks. Fixed in trunk

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ion Gaztañaga.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.