>From: "Terje Sletteb�" <[EMAIL PROTECTED]>
>
> I can imagine something like this:
>
> template<class Sequence, class T, template<class> void Function(T)>
> struct for_each;
>
> Possibly using overloaded class templates, as well (another possible
> extension).

Come to think of it, the latter wouldn't be needed here, as for_each is a
function template, and they can be overloaded. :) That would allow different
arity for the the function template template parameter.


Regards,

Terje

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to