<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Right way to store objects in container. How?]]></title><description><![CDATA[<p dir="auto">Hello all!<br />
I need to store objects in container and after it to get access to them by some id. Therefore the questions:</p>
<ul>
<li>What kind of container is better to use associative QHash/QMap or sequence QList/QVector if none of them then is there are some kind of special container in Qt for storing objects?</li>
<li>Is there better to store pointers to objects but not objects itself in container?</li>
<li>If it is the sequence containers what technique is better to use for accessing to particular object?</li>
</ul>
]]></description><link>https://forum.qt.io/topic/108140/right-way-to-store-objects-in-container-how</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 11:06:37 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/108140.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 26 Oct 2019 14:18:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Right way to store objects in container. How? on Sat, 26 Oct 2019 15:23:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">What kind of objects do you have in mind ?</p>
]]></description><link>https://forum.qt.io/post/558244</link><guid isPermaLink="true">https://forum.qt.io/post/558244</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 26 Oct 2019 15:23:11 GMT</pubDate></item></channel></rss>