Re: Initializer list issue

From: Christopher Benson-Manica (ataru_at_nospam.cyberspace.org)
Date: 04/30/04


Date: Fri, 30 Apr 2004 15:16:07 +0000 (UTC)

Jeff Schwab <jeffplus@comcast.net> spoke thus:

> Nope. Sorry, no way to tell from this code what caused the crash.

Well, I guess I'll tentatively blame my compiler (again), since I
sidestepped whatever problem there was by making the derived class
member a pointer and calling new in the constructor. I really didn't
see any reason why that should have made a difference, but it did...

-- 
Christopher Benson-Manica  | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org    | don't, I need to know.  Flames welcome.


Relevant Pages

  • Re: "this" and "base"
    ... compiler and the programming language. ... a private inherited field in a base class from a derived class is that the ... > because the member "is a private". ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: VS2005 - question about copy-ctor
    ... A's default constructor cannot access the default constructor for the ... derived class from breaking objects of other derived classes derived from ... Delete the member copy_protection to get around this, ... compiler to get the error in the first place. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: "this" and "base"
    ... "What keeps you from accessing a Private member" is more of what you are ... It is both the Compiler and Runtime engine that keep you from ... member function in your derived class you could have a local variable called ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Size of a structure : Structure Padding
    ... int i1; // 4 ... According to the rules of structure padding shouldn't the size of the ... it shouldn't be 28 bytes for a 32-bit compiler. ... It may very well be that the second member of your structure, ...
    (comp.lang.c)
  • Re: Passing a form reference gives error
    ... You mentioned "implement a common interface"... ... lstFormControls is not a member of "System.Windows.Forms.Form" ... member called lstFormControls. ... compiler and shouldn't matter at runtime. ...
    (microsoft.public.dotnet.languages.vb)