|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2000-06-03 13:37:30
> Part of the reason I posted the question is the overlap of Lambda and
> Expression. Lambda currently has a lot more features, but expression uses
> less new features of the language and therefore can be used on more, but
not
> all compilers. The two libraries use different names for similar
functions.
> For these two overlapping libraries it would probably be a good idea if
the
> interface were "standardized" but not too soon. So that users could switch
> from one to the other by recompiling. By not too soon, I mean I'd like to
> see more usage of this code to see which idiom works better in the field.
> (Or maybe none of it does, in which case we could re-work them both.)
Yep.
I deliberately designed the expression.hpp interface so that LL is a
(nearly) conforming implementation of it.
The only differences are (1) the names - they would hopefully be
standardized during the formal review process, whenever this happens, and
(2) the fact that LL::bind() allows a "free" first argument, whereas I
intentionally defined two separate functions, apply and call.
What surprises me, however, is that while it's clear to me that ETs are a
"good thing" (tm), it seems that nobody cares to use them. :)
Is MSVC compatibility so important? (I tried. I really tried.)
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk