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.

Reply via email to