> Isn't there a way with a xxx_cast too ? (maybe reinterpret_cast<> ?)
>
> JMarc
Yes, here is another one with casting:
bool operator==(ParConstIterator const & iter1, ParConstIterator const &
iter2)
{
return static_cast<DocIterator const &>(iter1) ==
static_cast<DocIterator const &>(iter2);
}
Yuriy