Ticket #6223 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

Wrong documentation for slist::splice

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


Two splice / splice_after calls are not correctly documented at

  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.


Change History

comment:1 Changed 5 years ago by igaztanaga

  • Status changed from new to closed
  • Resolution set to fixed

Thanks. Fixed in trunk


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

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

Note: See TracTickets for help on using tickets.