we have a function f with gets a string as below
Code:
void f( std::string str )
{
// body
}
is it safe to call this function with a const char* varialbe like below
Code:
void g( const char* phrase )
{
f(phrase);
}