|
-
June 21st, 2006, 10:23 PM
#1
VS2005 and the stl list::iterator
I recently brought my project over to visual studio 2005 and after compiling it, I started up to get an assertion failed error saying that list iterator is not decrementable. After some searching, I saw that apparently the list::iterator implementation in previous version would allow the user to decrement beyond the start of the list (and just ignores it), but the current version throws this exception.
Is there anyway to remove this error or to somehow get a bidirectional iterator for the stl list in VS2005? I have my own doubly linked list that I could use if I really had to, but as this is a large project containing dozens of list objects, I would prefer not to have to refactor all that code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|