31 Jul
2007
31 Jul
'07
5:46 p.m.
So, I'm loving Foreach and as I watch it spread throughout our codebase, of course it runs across the desk of our optimization obsessed team member. So, I was curious if you could address runtime performance of Foreach. I would expect it to be essentially equivalent to a hand written for loop with caching of end(). But what's the overhead of the auto_any_t, etc.? Thanks, Tom