List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:October 6 2006 8:39pm
Subject:Re: mysql++ memory usage
View as plain text  
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.
mysqlpp and wchar_t problemgani b. c.2 Oct
  • Re: mysqlpp and wchar_t problemWarren Young2 Oct
    • mysql++ memory usageAlex Burton3 Oct
      • Re: mysql++ memory usageWarren Young4 Oct
      • Re: mysql++ memory usageBill K4 Oct
        • Re: mysql++ memory usageAlex Burton4 Oct
        • Re: mysql++ memory usageWarren Young4 Oct
          • Re: mysql++ memory usageBill K5 Oct
            • Re: mysql++ memory usageWarren Young5 Oct
              • Re: mysql++ memory usageAlex Burton6 Oct
                • Re: mysql++ memory usageAlex Burton6 Oct
                  • RE: mysql++ memory usageMatt Dargavel6 Oct
                    • Re: mysql++ memory usageWarren Young6 Oct
                      • Re: mysql++ memory usageAlex Burton7 Oct
                        • Re: mysql++ memory usageWarren Young7 Oct
                        • Re: mysql++ memory usageMatt Dargavel7 Oct
                          • Re: mysql++ memory usageWarren Young12 Oct
                            • Exporting classesMatt Dargavel19 Oct
                              • Re: Exporting classesWarren Young20 Oct
                                • RE: Exporting classesMatt Dargavel20 Oct
      • Re: mysql++ memory usageCarlos Flores4 Oct
    • Re: mysqlpp and wchar_t problemgani b. c.3 Oct