Hi,
 
Does anyone can explain me why this code doesn't compile under CW
http://capers.free.fr/temp/list.h
 
with the error :
Error   : illegal initialization
 (point of instantiation: 'Common::ConfigFile::ConfigFile()')
  (instantiating: 'Common::List<Common::ConfigFile::Section>::~List()')
   (instantiating: 'Common::List<Common::ConfigFile::Section>::clear()')
    (instantiating:
'Common::List<Common::ConfigFile::Section>::erase(Common::List<Common::Confi
gFile::Section>::Iterator<Common::ConfigFile::Section>,
Common::List<Common::ConfigFile::Section>::Iterator<Common::ConfigFile::Sect
ion>)')
     (instantiating:
'Common::List<Common::ConfigFile::Section>::Iterator<Common::ConfigFile::Sec
tion>::operator++(int)')
list.h line 69   Iterator<T2> tmp(*this);


Thanks you very much.
Chris

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to