Overload issue between char[] and char*, inwhich the postfix should solve

Walter Bright newshound at digitalmars.com
Thu Nov 30 00:22:58 PST 2006


David L. Davis wrote:
>     // Now a problem without a cast(), but when using the
>     // 'c' postfix, it should make it clear that it's a char[]
>     // parameter.

Why? A 'c' postfix means it's a char[56], and a static array can be 
implicitly converted to both char* and char[], hence the ambiguity error.



More information about the Digitalmars-d-bugs mailing list