According to std::move, a moved std::string is in a "valid but unspecified state", which means that functions without preconditions can be used on the string. Is it ok to use std::basic_string::find on the unspecified string? Does std::basic_string:find have any precondition?
#include <string>
int main() {
std::string str = "hello";
auto s = std::move(str);
str.find("world");
}