[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: object-model: Wrapping Subversion C-structs in C++

From: Steinar Bang <sb_at_dod.no>
Date: Sat, 25 Sep 2010 10:34:48 +0200

>>>>> Branko Čibej <brane_at_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.

> You need a similar pair of classes that will deal with pools,

...but the idea of smart pointers is the correct one here, yes.
Received on 2010-09-25 10:35:43 CEST

This is an archived mail posted to the Subversion Dev mailing list.