code_junkie

How do I write a for loop that iterates over a CAtlMap selectively deleting elements as it goes?

Nov 11th, 2011
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. void DeleteUnreferencedRecords(CAtlMap<Record>& records)
  2. {
  3. for(____;____;____)
  4. {
  5. if( NotReferencedElsewhere(record) )
  6. {
  7. // Delete record
  8. _______;
  9. }
  10. }
  11. }
Add Comment
Please, Sign In to add comment