Is this a bug?

Li Jie cpunion at gmail.com
Tue Apr 11 18:45:48 PDT 2006


In article <e1fa64$17nq$1 at digitaldaemon.com>, Li Jie says...
>
>Code:
>
>template test(char[] str)
>{
>const char test = test1!(str[0]);  // #LINE 87
>}
>
>template test1(char c)
>{
>const char test1 = c;
>}

Modify "test1!(str[0])" to "test1!((str[0]))" can solve the problem.





More information about the Digitalmars-d mailing list