头文件 <regex>
regex r1("[a-z]+");
string s[] ={"12","asd","ff","f23"};
for (auto ss:s){
cout << regex_match(ss,r1)<<" "; //0 1 1 0
}
并行
<thread>头文件 thread类 join() get_id()
<mutex> mutex类 lock() unlock() unique_lock类
condition_variable类 notify_one() notify_all()
<atomic> atomic<T> 模板类