On 10/25/2010 10:01 PM, joel.fal...@lri.fr wrote: > >> There, that's better. I don't think I'll mess with it any more. Go ahead >> and use it, Thomas. > > just a small question: what if I need a transform that use external data ? > in nt2, we have thsi compute trnsform that recursively eats the AST and > call the approprite function passing a n dimension position tuple as a > data. > > I guess I could pass it as a state but will we have any other alternative ?
You could pass it as state or bundle it with the external transforms. All you need is a nested when template. Does that help? -- Eric Niebler BoostPro Computing http://www.boostpro.com _______________________________________________ proto mailing list proto@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/proto