What is best way to return readonly with changeable objects?
<p>I'm having container of objects and i want to return only readonly list of them because objects are managed within container.</p>

<pre><code>class Object;

class Container {
public:
   typedef list&lt;Object*&gt; Objects;

   // first method, probably slow
   Objects getObjects() { return this-&gt;objects; }
   // another method, but i don't know if it isn't lacking somewhere else
   Objects::iterator getObjectsIt() { return this-&gt;objects.begin(); }
   // OR any better method exists ??

private:
   Objects objects;
};
</code></pre>
