From: Warren Young Date: October 6 2006 8:39pm Subject: Re: mysql++ memory usage List-Archive: http://lists.mysql.com/plusplus/6017 Message-Id: <4526BEED.5000407@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Matt Dargavel wrote: > > you shouldn't really pass a member variable object into the > base class constructor as it won't have been initialised yet. The MS C++ > std library implementation allows you to do what I believe the original > intention was, as follows: Good work, you two. I think what I'm going to have to do is special-case VC++ here. While RAII has its points, I'm nervous about passing an uninitialized object into the base class ctor. I'll get something into svn tonight, and you all can comment on it if you care to.