Lets say i have a template:
template<char const *str>
class Template { ... };
Why is it not possible to write the following?
Template<"literal"> T;
or
char const *s = "Literal";
Template<s> T;
And why does the following works?
char const s[] = "Literal";
Template<s> T;