January 17, 2014
On 2014-01-17 15:47, bearophile wrote:

> I don't think so. If you pass one of those literals to a template by
> alias, you are passing the template name (the type constructor) or the
> instantiated template (the type)? Both are valid usages and I think the
> compiler can't choose by itself. So I think this is a bad idea.

Template name, because you can override that with !() to mean template instantiation.

-- 
/Jacob Carlborg
1 2
Next ›   Last »