You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
This code works like it should (from the beginner example):
ticpp::Iterator<ticpp::Element> child;
for(child = child.begin(doc.FirstChildElement()); child != child.end(); child++)
or
ticpp::Iterator<ticpp::Element> child;
for(child = child.begin(doc.FirstChildElement()); child != child.end(); ++child)
Now I get SIGSEGV when I want to do it like this:
for(ticpp::Iterator<ticpp::Element> child =
child.begin(doc.FirstChildElement()); child != child.end(); child++)
Loop ends immediately when I change the iteration:
for(ticpp::Iterator<ticpp::Element> child =
child.begin(doc.FirstChildElement()); child != child.end(); ++child)
I'm using Code::Blocks on Windows. Although it can be worked around it still is
quite annoying when you are used to the STL iterators (like in the last
example).
Original issue reported on code.google.com by [email protected] on 17 Feb 2011 at 4:31
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 17 Feb 2011 at 4:31The text was updated successfully, but these errors were encountered: