Click here to Skip to main content
15,919,245 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralUrgent!!!How to pass an array in Event in ATl/COM Pin
Akshay Dave16-Nov-04 22:52
Akshay Dave16-Nov-04 22:52 
GeneralRe: Urgent!!!How to pass an array in Event in ATl/COM Pin
El'Cachubrey16-Nov-04 23:30
El'Cachubrey16-Nov-04 23:30 
GeneralRe: Urgent!!!How to pass an array in Event in ATl/COM Pin
ThatsAlok17-Nov-04 17:19
ThatsAlok17-Nov-04 17:19 
GeneralRe: Urgent!!!How to pass an array in Event in ATl/COM Pin
Akshay Dave18-Nov-04 17:30
Akshay Dave18-Nov-04 17:30 
GeneralRe: Urgent!!!How to pass an array in Event in ATl/COM Pin
Akshay Dave19-Nov-04 0:15
Akshay Dave19-Nov-04 0:15 
GeneralRe: Urgent!!!How to pass an array in Event in ATl/COM Pin
ThatsAlok21-Nov-04 20:06
ThatsAlok21-Nov-04 20:06 
Generalbasic stl::list erase question Pin
Stefan0116-Nov-04 6:14
Stefan0116-Nov-04 6:14 
GeneralRe: basic stl::list erase question Pin
Joaquín M López Muñoz16-Nov-04 9:24
Joaquín M López Muñoz16-Nov-04 9:24 
(Next time, please tick on the "Do not treat <'s as HTML tags" checkbox so that brackets show in your message.)

I've got a std::list<myclass*> mlist and want to erase several elements.


I thought mlist.erase(iter) deletes the element pointed to by iter.
As this is a pointer, only the pointer should be erased, but the destructor of myclass is also called... Is this the desired behaviour?


You should misinterpreting the behavior of your program, since mlist.erase(iter) will only erase the element and not destroy the object pointed to. Are you 100% sure the object is being destroyed, too?



Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
Want a Boost forum in Code Project? Vote here[^]!
GeneralRe: basic stl::list erase question Pin
Stefan0116-Nov-04 11:59
Stefan0116-Nov-04 11:59 
GeneralStrange way of killing DLLHOST Pin
Federico Milano16-Nov-04 5:56
Federico Milano16-Nov-04 5:56 
GeneralSTL DataStructure for 50000 - 100000 items Pin
SandeepN16-Nov-04 4:10
SandeepN16-Nov-04 4:10 
GeneralRe: STL DataStructure for 50000 - 100000 items Pin
Joaquín M López Muñoz16-Nov-04 9:27
Joaquín M López Muñoz16-Nov-04 9:27 
GeneralStatus bar in ATL COM Exe Pin
shakiru11-Nov-04 0:22
shakiru11-Nov-04 0:22 
GeneralATL web service scope Pin
De Nardis Andrea10-Nov-04 8:38
De Nardis Andrea10-Nov-04 8:38 
GeneralATL in .NET Studio... Pin
CherezZaboro10-Nov-04 7:45
CherezZaboro10-Nov-04 7:45 
GeneralRe: ATL in .NET Studio... Pin
De Nardis Andrea10-Nov-04 8:33
De Nardis Andrea10-Nov-04 8:33 
GeneralATL web server and smart pointers Pin
De Nardis Andrea9-Nov-04 4:14
De Nardis Andrea9-Nov-04 4:14 
GeneralRe: ATL web server and smart pointers Pin
Igor Vigdorchik9-Nov-04 14:53
Igor Vigdorchik9-Nov-04 14:53 
GeneralRe: ATL web server and smart pointers Pin
De Nardis Andrea9-Nov-04 22:33
De Nardis Andrea9-Nov-04 22:33 
GeneralSreaming maps and vectors to a file Pin
Malcolm Smart8-Nov-04 23:31
Malcolm Smart8-Nov-04 23:31 
GeneralRe: Sreaming maps and vectors to a file Pin
Steve S9-Nov-04 0:07
Steve S9-Nov-04 0:07 
GeneralRe: Sreaming maps and vectors to a file Pin
Andrew Walker9-Nov-04 2:06
Andrew Walker9-Nov-04 2:06 
GeneralRe: Sreaming maps and vectors to a file Pin
Malcolm Smart9-Nov-04 4:37
Malcolm Smart9-Nov-04 4:37 
QuestionHow to import MFC DLL into WTL project Pin
humbird8-Nov-04 2:33
humbird8-Nov-04 2:33 
AnswerRe: How to import MFC DLL into WTL project Pin
Michael Dunn8-Nov-04 6:52
sitebuilderMichael Dunn8-Nov-04 6:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.