
23 Apr
2004
23 Apr
'04
8:10 a.m.
Anatoli Tubman wrote:
Eric Niebler wrote:
Not that either. :-) With the FOREACH macro, you don't have to specify the container type, there is no heap allocation and no virtual function calls. Everything is fully-inline-able. And it doesn't need typeof.
Um, I've studied your work with FOREACH and I quite like it, but I thought this particular subthread was about a about a macro-free implementation. It seems that one needs at least one of: preprocessor, container type, virtual dispatch, or auto/typeof :( I don't see how to avoid all four.
and yet, it seems possible ;) see my other post Best, John