On Sunday, 27 December 2015 at 03:40:50 UTC, Alex Parrill wrote:
On Sunday, 27 December 2015 at 03:34:18 UTC, riki wrote:
void ccf(const char* str){}
void cwf(const wchar* str){}

void main()
{
    ccf("aaa");    //ok
    cwf("xxx"w); // error and why ?
}

Unrelated to your error, but those functions should probably take a `string` and `wstring` respectively instead.

xx.d(7): Error: function xx.cwf (const(wchar*) str) is not callable using argument types (wstring)

Reply via email to