On 02/24/2011 12:14 PM, Jonathan M Davis wrote: > the type of "test" is string
Sorry to take it out of context but that statement is not always correct. String literals can be string, wstring, or dstring:
void foo(string c, wstring w, dstring d) {} void main() { foo("c", "w", "d"); // <- this compiles // But the following fails to compile: // string s; // foo(s, s, s); } Ali