Subject: [Boost-bugs] [Boost C++ Libraries] #6223: Wrong documentation for slist::splice
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-06 10:36:45
#6223: Wrong documentation for slist::splice
--------------------------------------+-------------------------------------
Reporter: stheophil@⦠| Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: intrusive
Version: Boost 1.48.0 | Severity: Problem
Keywords: |
--------------------------------------+-------------------------------------
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
47. iterator splice_after(const_iterator prev, slist & x) ;
Requires: prev is an iterator to an element or x.end()/x.before_begin() in
x.
51. 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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6223> 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:08 UTC