8 Jul
2010
8 Jul
'10
10:21 p.m.
On 07/08/10 14:43, John Dlugosz wrote:
Sounds like the if_recur template metaprogram found here:
http://svn.boost.org/svn/boost/sandbox/variadic_templates/boost/mpl/if_ recur.hpp
does what your asking, except for templates, not values. I'd guess it could serve as a guide on how to do it for values.
-regards,
Larry
So you give it two functions, one to do on the way down and another to do on a the way up?
Yes. However, I'm not sure if the way-up function is the NowUp or Else template parameter. I'd have to look at the backus_turingaward_lecture.pdf reference to see which is which.