Opened 11 years ago
Closed 11 years ago
#6223 closed Bugs (fixed)
Wrong documentation for slist::splice
Reported by: | 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
- iterator splice_after(const_iterator prev, slist & x) ;
Requires: prev is an iterator to an element or x.end()/x.before_begin() in x.
- 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.
Note:
See TracTickets
for help on using tickets.
Thanks. Fixed in trunk