Click here to Skip to main content
15,920,031 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralData transfer from one dialog to a property page. Pin
Rajesh_K_Sharma30-Sep-04 2:23
Rajesh_K_Sharma30-Sep-04 2:23 
GeneralRe: Data transfer from one dialog to a property page. Pin
David Crow30-Sep-04 5:08
David Crow30-Sep-04 5:08 
GeneralMaterializing derived classes Pin
Jerome Conus30-Sep-04 2:00
Jerome Conus30-Sep-04 2:00 
GeneralRe: Materializing derived classes Pin
Iain Clarke, Warrior Programmer30-Sep-04 4:48
Iain Clarke, Warrior Programmer30-Sep-04 4:48 
GeneralTo track an errors-messages Pin
Billar30-Sep-04 1:32
Billar30-Sep-04 1:32 
Generalstl iterators Pin
RChin30-Sep-04 1:21
RChin30-Sep-04 1:21 
GeneralRe: stl iterators Pin
RChin30-Sep-04 1:48
RChin30-Sep-04 1:48 
GeneralRe: stl iterators Pin
Iain Clarke, Warrior Programmer30-Sep-04 4:54
Iain Clarke, Warrior Programmer30-Sep-04 4:54 
My understanding is that the iterator will be valid as long as the container is unchanged. Once
you change it, all bets are off.

They are equivalent to the old K&R Node * pointing to nodes in a linked list.

But any non-const container member function could mess things up. And it wouldn't be thread
safe, as you may mess things up elsewhere... And so on.

I only ever use iterators locally, but there is no reason your idea shouldn't work if you
are careful.

Iain.
GeneralRe: stl iterators Pin
Joaquín M López Muñoz30-Sep-04 9:10
Joaquín M López Muñoz30-Sep-04 9:10 
GeneralRe: stl iterators Pin
RChin30-Sep-04 23:20
RChin30-Sep-04 23:20 
GeneralAsserion failed Pin
30-Sep-04 0:22
suss30-Sep-04 0:22 
GeneralRe: Asserion failed Pin
22491730-Sep-04 1:08
22491730-Sep-04 1:08 
GeneralRe: Asserion failed Pin
David Crow30-Sep-04 5:48
David Crow30-Sep-04 5:48 
GeneralProvide an Interface to my Program Pin
sweep12329-Sep-04 22:55
sweep12329-Sep-04 22:55 
GeneralRe: Provide an Interface to my Program Pin
22491730-Sep-04 1:25
22491730-Sep-04 1:25 
GeneralArrow Keys Pin
Neelesh K J Jain29-Sep-04 21:09
Neelesh K J Jain29-Sep-04 21:09 
GeneralRe: Arrow Keys Pin
V.29-Sep-04 22:32
professionalV.29-Sep-04 22:32 
GeneralRe: Arrow Keys Pin
Neelesh K J Jain29-Sep-04 23:22
Neelesh K J Jain29-Sep-04 23:22 
GeneralRe: Arrow Keys Pin
V.30-Sep-04 1:33
professionalV.30-Sep-04 1:33 
GeneralRe: Arrow Keys Pin
David Crow30-Sep-04 5:50
David Crow30-Sep-04 5:50 
QuestionWhich memory allocator to use? Pin
George Ionescu29-Sep-04 20:30
George Ionescu29-Sep-04 20:30 
AnswerRe: Which memory allocator to use? Pin
cmk29-Sep-04 21:52
cmk29-Sep-04 21:52 
AnswerRe: Which memory allocator to use? Pin
David Crow30-Sep-04 5:54
David Crow30-Sep-04 5:54 
Generalwarning C4652 Pin
mithuna29-Sep-04 20:12
mithuna29-Sep-04 20:12 
GeneralRe: warning C4652 Pin
Antony M Kancidrowski30-Sep-04 2:10
Antony M Kancidrowski30-Sep-04 2:10 

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.