![Chad Rust's std::string::String::replace_range vs virgin C++'s std:: basic_string::replace : r/rustjerk Chad Rust's std::string::String::replace_range vs virgin C++'s std:: basic_string::replace : r/rustjerk](https://preview.redd.it/lw39bpmmge271.png?width=640&crop=smart&auto=webp&s=274c5aa7d66852932522752543f5c10c466ec478)
Chad Rust's std::string::String::replace_range vs virgin C++'s std:: basic_string::replace : r/rustjerk
![how to solve the problem about:cannot convert 'std::string {aka std:: basic_string<char>}' to 'const char*' for argument '1' to 'char* strptime(const char*, const char*, tm*)' | Qt Forum how to solve the problem about:cannot convert 'std::string {aka std:: basic_string<char>}' to 'const char*' for argument '1' to 'char* strptime(const char*, const char*, tm*)' | Qt Forum](https://ddgobkiprc33d.cloudfront.net/84dd5c69-ba8b-4ebd-a1c6-8a2d63e21869.png)
how to solve the problem about:cannot convert 'std::string {aka std:: basic_string<char>}' to 'const char*' for argument '1' to 'char* strptime(const char*, const char*, tm*)' | Qt Forum
![c++ - What's the connection of string_view and basic_string<char> and why does string_view example code not work? - Stack Overflow c++ - What's the connection of string_view and basic_string<char> and why does string_view example code not work? - Stack Overflow](https://i.stack.imgur.com/GBKmY.png)