
Hello, I am having a look at your library which seems very interesting. But i am having trouble finding whether there would be a way to do the following using Proto : typedef ... Variable; Variable x, y; evaluate( x - y ); The important thing that differs from your examples is that, in this case, x and y have the exact same type... As far as i understand what you have done, this implies instantiating both an expr<> type and the associated context at the same time. Such a process does not appear in any of your examples, and i can't see how it could be done the "Proto" way... Is it simply not possible ? Thanks for your work ! Benoît Casoetto On Jan 28, 2008 8:26 PM, Eric Niebler <eric@boost-consulting.com> wrote:
Proto, the library for defining expression template-based domain-specific languages, is ready for review. It's already actively being used by Boost.Xpressive and by Spirit-2, and is a key enabling technology in the long-planned unification of Phoenix and the Lambda Library.
Documentation is here: http://boost-sandbox.sourceforge.net/libs/proto
Download proto.zip from here: http://www.boost-consulting.com/vault/index.php?directory=Template%20Metapro...
-- Eric Niebler Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- Benoît "When you have a hammer, everything else looks like a nail"