On 25.09.2010 10:34, Steinar Bang wrote: >>>>>> Branko Čibej <br...@xbc.nu>: >> I suggest you take a look at auto_ptr and auto_ptr_ref. > auto_ptr is very limited in that it allows only a single pointer to a > single object.
Which is why I mentioned auto_ptr_ref, which is a reference to an auto_ptr (non-owned). -- Brane