Click here to Skip to main content
16,004,833 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralBHO Advise Pin
Monty26-Jan-04 21:29
Monty26-Jan-04 21:29 
GeneralGot it Pin
Monty27-Jan-04 19:11
Monty27-Jan-04 19:11 
Questionhow to realize CWinThread in WTL project? Pin
freehawk6-Jan-04 21:01
freehawk6-Jan-04 21:01 
GeneralEvent Receiver inside a ActiveX Control Pin
Jiff Shen6-Jan-04 20:34
Jiff Shen6-Jan-04 20:34 
GeneralSTL "for_each" algorithm. Pin
WREY3-Jan-04 14:38
WREY3-Jan-04 14:38 
GeneralRe: STL "for_each" algorithm. Pin
Michael Dunn3-Jan-04 16:50
sitebuilderMichael Dunn3-Jan-04 16:50 
GeneralRe: STL "for_each" algorithm. Pin
WREY3-Jan-04 17:19
WREY3-Jan-04 17:19 
GeneralRe: STL "for_each" algorithm. Pin
Jörgen Sigvardsson4-Jan-04 0:54
Jörgen Sigvardsson4-Jan-04 0:54 
You may not modify the structure of the container you are iterating with for_each. The reason is that you may invalidate iterators which for_each is holding a reference to.

NEVER modify containers structurally while inside iterating functions such as for_each.

--
You copy and paste yourself into my brain.
You always find your way back into my brain.

GeneralRe: STL "for_each" algorithm. Pin
WREY4-Jan-04 8:18
WREY4-Jan-04 8:18 
GeneralRe: STL "for_each" algorithm. Pin
Jörgen Sigvardsson4-Jan-04 8:36
Jörgen Sigvardsson4-Jan-04 8:36 
GeneralRe: STL "for_each" algorithm. Pin
WREY4-Jan-04 8:48
WREY4-Jan-04 8:48 
GeneralRe: STL "for_each" algorithm. Pin
Jörgen Sigvardsson4-Jan-04 9:52
Jörgen Sigvardsson4-Jan-04 9:52 
GeneralRe: STL "for_each" algorithm. Pin
WREY4-Jan-04 14:25
WREY4-Jan-04 14:25 
GeneralRe: STL "for_each" algorithm. Pin
Jörgen Sigvardsson4-Jan-04 22:19
Jörgen Sigvardsson4-Jan-04 22:19 
GeneralRe: STL "for_each" algorithm. Pin
WREY5-Jan-04 1:47
WREY5-Jan-04 1:47 
GeneralRe: STL "for_each" algorithm. Pin
Jörgen Sigvardsson5-Jan-04 2:01
Jörgen Sigvardsson5-Jan-04 2:01 
GeneralRe: STL "for_each" algorithm. Pin
WREY5-Jan-04 2:23
WREY5-Jan-04 2:23 
GeneralRe: STL "for_each" algorithm. Pin
Jörgen Sigvardsson5-Jan-04 2:32
Jörgen Sigvardsson5-Jan-04 2:32 
GeneralRe: STL "for_each" algorithm. Pin
WREY5-Jan-04 2:40
WREY5-Jan-04 2:40 
GeneralRe: STL "for_each" algorithm. Pin
Sebastián Benítez6-Jan-04 6:19
Sebastián Benítez6-Jan-04 6:19 
GeneralRe: STL "for_each" algorithm. Pin
Jörgen Sigvardsson6-Jan-04 6:27
Jörgen Sigvardsson6-Jan-04 6:27 
GeneralRe: STL "for_each" algorithm. Pin
jbarton5-Jan-04 4:10
jbarton5-Jan-04 4:10 
GeneralRe: STL "for_each" algorithm. Pin
WREY5-Jan-04 11:33
WREY5-Jan-04 11:33 
GeneralRe: STL "for_each" algorithm. Pin
Jörgen Sigvardsson5-Jan-04 12:36
Jörgen Sigvardsson5-Jan-04 12:36 
GeneralRe: STL "for_each" algorithm. Pin
jbarton6-Jan-04 5:05
jbarton6-Jan-04 5:05 

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.