6 Aug
2007
6 Aug
'07
9:58 p.m.
I have defined an iterator adaptor called skip_iterator. I found that I have to write: skip_iterator() : skip_iterator::iterator_adaptor_(0), m(1) {} rather than skip_iterator() : iterator_adaptor_(0), m(1) {} even though iterator_adaptor_ is a protected typedef inside iterator_adaptor. Will someone explain why I have to qualify the name? Thanks, Mark Ruzon