subchannel13 / Stareater

4X turn based strategy
GNU General Public License v3.0
32 stars 7 forks source link

Collections supporting element removal during iteration #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Proposition for following:

Kind of. To reduce boilerplate code, collections such as List and Dictionary 
should be extended with PendRemove and ApplyPendind methods.

PendRemove - marks object for removal from collection but doesn't remove on 
it's own

ApplyPending - removes from collection all marked objects

Original issue reported on code.google.com by subchann...@gmail.com on 18 Oct 2011 at 10:54

GoogleCodeExporter commented 9 years ago

Original comment by subchann...@gmail.com on 28 Oct 2011 at 10:05