[iterators] iterator_facade

5 Oct
2006
5 Oct
'06
4:04 p.m.
I am looking at implementing some iterators based on the design paradigms outlined in http://www.boost.org/libs/iterator/doc/iterator_facade.html In the first instance I am not able to use templates at all, but I would like to implement it in a template-friendly fashion, and hopefully make it fully templated in due course. My question is why is it recommended to implement iterator_core_accessfunctions as private static members of a separtate class rather making them a base class of iterator_facade which could be privately inherited and then remove the need to make iterator_core_access a friend of Derived?
6824
Age (days ago)
6824
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Jones