W
wenmang
Hi,
Here is a function:
void f(const char *){};
when I call above function with following statement, it is compiled
without error:
f(string("hi")); //create a tmp string object
Is it right for compiler not even issuing an error?
wm
Here is a function:
void f(const char *){};
when I call above function with following statement, it is compiled
without error:
f(string("hi")); //create a tmp string object
Is it right for compiler not even issuing an error?
wm