Quote Originally Posted by superbonzo View Post
uhm, I would advice against such an adaptor because it does not fulfill the container concept requirements ( just consider that size() should be equal to std:istance( begin(), end ) ); IMHO, if one really wants such an infinite sequence view of a bidirectional container It's better to write an iterator adaptor instead. Actually, I don't think the OP really needs one.
True, but I did advise using a circular link to begin with. Maybe adapting just the iterator (which is where the bulk of the code is anyways) is a better idea.

Quote Originally Posted by superbonzo View Post
BTW, unless I'm missing something, the "friend class circular_list;" is unnecessary because member classes have always access to the containing class private data.
That's what I thought, but I get compile errors saying those members are inaccessible, both with mingw and comeau.