|Subject:||Re: Gets vertical skylines from grob stencils (issue 5626052)|
|Date:||Fri, 17 Feb 2012 08:42:40 +0100|
On Feb 16, 2012, at 9:31 PM, Joe Neeman wrote:
Yup - I more or less copied the example from cplusplus.com. As an experiment, try writing a reverse iterator in that file to the tune of:
for (list<Building>::reverse_iterator i = buildings_.rbegin (); i != buildings_.rend (); ++i)
Anywhere in a function. You should see a compiler error.
I fixed it, though, by reversing a copy of the list and iterating forward through it.
|[Prev in Thread]||Current Thread||[Next in Thread]|