M
Michael McKnerney
Hi,
Can someone answer this simple question:
Given:
string func();
func2( func.c_str() );
When does the string returned from func() go out of scope, after the
call to c_str() or after func2() completes?
thanks,
Mike
Can someone answer this simple question:
Given:
string func();
func2( func.c_str() );
When does the string returned from func() go out of scope, after the
call to c_str() or after func2() completes?
thanks,
Mike