forked from boostorg/container
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:
@@ -67,6 +67,11 @@ class recursive_list
|
||||
public:
|
||||
int id_;
|
||||
list<recursive_list> list_;
|
||||
list<recursive_list>::iterator it_;
|
||||
list<recursive_list>::const_iterator cit_;
|
||||
list<recursive_list>::reverse_iterator rit_;
|
||||
list<recursive_list>::const_reverse_iterator crit_;
|
||||
|
||||
recursive_list &operator=(const recursive_list &o)
|
||||
{ list_ = o.list_; return *this; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user