nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nel] maybe bug


From: jaleco
Subject: [Nel] maybe bug
Date: Wed, 21 Feb 2001 18:37:46 +0800

first I am a newbies for c++,so maybe I am wrong.
 
file moves.cpp
     auto_ptr<CConfigFile> cf2( new CConfigFile() );
    auto_ptr<CConfigFile> cf( new CConfigFile() );
seem to wrong, becuase auto_ptr will delete content when leave local stack.
but ccconfigfile store it to vector container , this will cause bad thing .
did it ?
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]