|
Boost : |
From: Anatoli Tubman (anatoli_at_[hidden])
Date: 2004-04-22 13:26:52
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.
-- Anatoli Tubman PTC Israel (Haifa) Tel. (+972) 4-8550035 ext. 229
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk