string literals
Jack Applegame
japplegame at gmail.com
Fri May 31 09:57:37 PDT 2013
On Friday, 31 May 2013 at 15:35:51 UTC, Jonathan M Davis wrote:
> The fact
> that it's a string is irrelevant, and making it a static array
> woludn't help
> any. If data were a template argument, it would work, but it's
> a funciton
> argument, so it won't.
>
If to pass reference to static array as function argument, pragma
will work,
But you are right.
I have to find another way. Perhaps passing string as template
alias.
More information about the Digitalmars-d-learn
mailing list