ParIterator::operator==

Yuriy Skalko yuriy.skalko at gmail.com
Sun Nov 8 08:57:32 UTC 2020


> 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


More information about the lyx-devel mailing list