Avoid unnecessary conversion and temporaries
Passing the result of c_str() to a function that takes std::string as argument no. 2 is slow and redundant.
Showing
Please register or sign in to comment
Passing the result of c_str() to a function that takes std::string as argument no. 2 is slow and redundant.