Re: non-local static object initialization problems

2007-07-24 Thread Timothy Baldwin
In message <[EMAIL PROTECTED]>, Ali <[EMAIL PROTECTED]> wrote: > Hello, > > Thank you for your valuable reply. I got the following link from an > other group comp.lang.c++ (many thanks go to user "red floyd") > > http://www.parashift.com/c++-faq-lite/ctors.html A gcc specific solution is to use

Re: non-local static object initialization problems

2007-07-12 Thread Ali
Hello, Thank you for your valuable reply. I got the following link from an other group comp.lang.c++ (many thanks go to user "red floyd") http://www.parashift.com/c++-faq-lite/ctors.html My problem is discussed under 10.12-10.16, togehter with its solution. According to 10.15 "Note that the ANS

Re: non-local static object initialization problems

2007-07-12 Thread Bernd Strieder
Ali wrote: > My problem is quite similar to Item 10 of Effective C++ (Scott > Meyers): > > http://www.awprofessional.com/content/downloads/meyerscddemo/DEMO/EC/EI10_FR.HTM > > I have Airplane objects declared in a namespace myNamespace in a file > main.cpp, the memPool is initialized correctly.