Douglas Gregor wrote:

[...]

> You can always write a forwarding 'foo' that checks the argument
> types, but
> I understand the reason you'd like this feature. My only question is
> whether it is worth the additional machinery that it would take,
> e.g., would this help a large amount of code? Perhaps you have a
> particular "real world" use in mind? I can't think of one, and
> there's a bit of code in the paper that uses the template varargs
> stuff but didn't need it.

I think some people where interested to use a list of char also, a
compile-time string:

template <... char A>
    void foo()
    {
    }

foo<'f', 'a', 's', 't', ' ', 's' , 't' , 'r' , 'i' , 'n', 'g'>();

[...]



Philippe



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

Reply via email to