|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-08-02 08:34:55
From: "Peter Dimov" <pdimov_at_[hidden]>
> ++p2.begin() already doesn't work. An iterator is not required to be a
class
> type, and therefore, its rvalues aren't required to support ++. All
built-in
> rvalues, despite being non-qualifiable, are de-facto const.
Which is why we have boost::next() and boost::prior().
-----------------------------------------------------------
David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk