Fixes a small issue that prevented the use of iterators of containers of incomplete types. Added iterators of incomp-types to unit-tests.

This commit is contained in:
mikael
2014-09-21 19:46:58 -04:00
parent 3bbb0bbe0e
commit 59b46cd338
13 changed files with 82 additions and 2 deletions
+3
View File
@@ -57,6 +57,9 @@ class recursive_slist
public:
int id_;
slist<recursive_slist> slist_;
slist<recursive_slist>::iterator it_;
slist<recursive_slist>::const_iterator cit_;
recursive_slist &operator=(const recursive_slist &o)
{ slist_ = o.slist_; return *this; }
};