hi, i dont get the point with NOT allocating space for embedded pointers in the ctor. Its annoying if one cant do it at the ctor since EVERY function now has to check for a null pointer and create it. So i guess if my default ctor look somethin like this TTest::TTest() { init(); } and init() is fData=new Whatever(); This is not allowed either ! BTW what IS teh default ctor ?? the FIRST in the h file or must i put a //default or so in the code ?? What if the user does not call the default and in the non default an object will be constructed ??? Joe __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:09 MET