Ozgur Ugras BARAN wrote:
On 11/9/06, Georg Baum

What I understand is map::operator[] returns mapped_type&,  (for this
case a const_iterator&). When you use operator = you try to
copy-construct with another const_iterator. This is erroneous, since
you cannot dereference the first.

Pair, however, packs two items first.

I guess this make sense, or just test it and see the result. )

Anyway, I am not that sure. This may be a gcc bug also.

Or maybe a Qt4.2 bug. QModelIndex is a strange beast.

Abdel.

Reply via email to