Afficher un message
Vieux 06/02/2008, 16h01   #4
Greg Comeau
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Warning this will be initialized after that

In article <eb44f11c-ce55-49d7-b0eb-57f8c4c3a96d@i29g2000prf.googlegroups.com>,
Christopher <cpisz@austin.rr.com> wrote:
>What causes this kind of warning to occur? why is the compiler forcing
>some order of initialization in an initializer list?
>I frequently run into this when I am initializing a pointer and an int
>in a constructor's initializer list.


Check out http://www.comeaucomputing.com/techtalk/#meminit
--
Greg Comeau / 4.3.9 with C++0xisms now in beta!
Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
  Réponse avec citation
 
Page generated in 0,04619 seconds with 9 queries