On Friday 09 January 2015 17:42:02 Brad Pepers wrote:
>  So it seems like even though I'm getting a const reference using operator
> [] on the QList, it's actually making a deep copy of the data as if I was
> using the non-const version.

"I'm getting a const reference using operator[]" is the wrong part.

You're getting a non-const reference using that operator.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to