I have a
QVector<structure> m_vector;
the structure has many fields, some of them fixed-dimension and some of them other dynamic QVectors..
I'm wondering if I can do this:
m_vector[4].another_vector[9].another_vector[2].field_in_the_structure = 2;
will the change be valid to the entire m_vector?
是的,这应该可以按照您期望的方式工作。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.