On Sun, Apr 02, 2006 at 04:31:15PM +0200, Mateusz Å?oskot wrote: ... > Another question is if objects we are going to manage with smart > pointers will always live on the heap. > If they will, then it's a good practice to make ctor private/protected > and expose only named ctor e.g. Foo::create() > Certainly, the create() constructor should return shared_ptr. > > Please, not, there are quite many possibilities, so I'd prefer to > discuss every such in details than to answer "what to do in general" :-)
Right. Let's discuss this *after* we complete port and unit tests. --strk; _______________________________________________ geos-devel mailing list geos-devel@geos.refractions.net http://geos.refractions.net/mailman/listinfo/geos-devel