Click here to Skip to main content
15,910,661 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralSetting the windows class using WTL Pin
Tommy2k29-Jan-03 10:54
Tommy2k29-Jan-03 10:54 
GeneralRe: Setting the windows class using WTL Pin
Michael Dunn29-Jan-03 13:39
sitebuilderMichael Dunn29-Jan-03 13:39 
GeneralRe: Setting the windows class using WTL Pin
Tommy2k30-Jan-03 5:20
Tommy2k30-Jan-03 5:20 
GeneralRe: Setting the windows class using WTL Pin
Michael Dunn30-Jan-03 10:41
sitebuilderMichael Dunn30-Jan-03 10:41 
GeneralATL /MFC / VB/VC Pin
Giuseppe Schillaci29-Jan-03 2:35
Giuseppe Schillaci29-Jan-03 2:35 
GeneralProblems with threads Pin
summo28-Jan-03 23:08
summo28-Jan-03 23:08 
Generaltemplate delete function for map Pin
User 988527-Jan-03 5:35
User 988527-Jan-03 5:35 
GeneralRe: template delete function for map Pin
Joaquín M López Muñoz27-Jan-03 5:47
Joaquín M López Muñoz27-Jan-03 5:47 
Hi Thomas. In your particular case, you don't need to delete each pair, nor even delete both members: std::strings take care of cleaning up their own resources, so you only have to cope with the second member of each pair:
template <typename T>
struct delete_second
{
  operator()(T& t)const
  {
    delete t.second;
  }
};
 
...
 
for_each(mymap.begin(),mymap.end(),delete_second<map <string, Type* >::value_type >());


Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: template delete function for map Pin
User 988527-Jan-03 5:49
User 988527-Jan-03 5:49 
GeneralLinker error Pin
suresh_sathya26-Jan-03 21:58
suresh_sathya26-Jan-03 21:58 
GeneralRe: Linker error Pin
Tim Smith27-Jan-03 2:37
Tim Smith27-Jan-03 2:37 
GeneralWTL documentation, free book, tutorial... Pin
axa25-Jan-03 12:51
axa25-Jan-03 12:51 
GeneralRe: WTL documentation, free book, tutorial... Pin
Oliver Anhuth27-Jan-03 0:43
Oliver Anhuth27-Jan-03 0:43 
GeneralMFC ActiveXCtrl - Event Help Pin
NickiGraus25-Jan-03 11:02
NickiGraus25-Jan-03 11:02 
QuestionHow to get the path name of COM DLL Pin
bojinyu25-Jan-03 1:40
bojinyu25-Jan-03 1:40 
AnswerRe: How to get the path name of COM DLL Pin
chepuri_uk25-Jan-03 19:34
chepuri_uk25-Jan-03 19:34 
GeneralBrowser Helper Object Pin
LukeV23-Jan-03 9:11
LukeV23-Jan-03 9:11 
GeneralRe: Browser Helper Object Pin
TigerNinja_29-Jan-03 16:39
TigerNinja_29-Jan-03 16:39 
GeneralWTL - Getting a pointer to the Main Window Pin
Tony Hedge20-Jan-03 11:35
Tony Hedge20-Jan-03 11:35 
GeneralRe: WTL - Getting a pointer to the Main Window Pin
Tim Smith20-Jan-03 13:39
Tim Smith20-Jan-03 13:39 
GeneralRe: WTL - Getting a pointer to the Main Window Pin
Tony Hedge20-Jan-03 21:16
Tony Hedge20-Jan-03 21:16 
GeneralRe: WTL - Getting a pointer to the Main Window Pin
Joaquín M López Muñoz20-Jan-03 22:25
Joaquín M López Muñoz20-Jan-03 22:25 
GeneralRe: WTL - Getting a pointer to the Main Window Pin
Tony Hedge20-Jan-03 23:05
Tony Hedge20-Jan-03 23:05 
GeneralRe: WTL - Getting a pointer to the Main Window Pin
AlexO21-Jan-03 2:55
AlexO21-Jan-03 2:55 
GeneralRe: WTL - Getting a pointer to the Main Window Pin
Jörgen Sigvardsson21-Jan-03 10:15
Jörgen Sigvardsson21-Jan-03 10:15 

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.