转自:
//array#includevoid Foo1(){ array a; generate(a.begin(), a.end(), rand); sort(a.begin(), a.end()); for (auto n:a) { cout< <<" "; } cout<<"sizeof(a) = "< <
//regex#includevoid Foo2(){ if( regex_match("Hello World!", regex("Hello World!")) ) { cout<<"Math!"<
//thread#includevoid Foo3(){ thread t1([] { for (int i = 0; i < 10; i++) { cout<<"t1:"< <
//future (暂时没理解)#includeint Test(int a, int b){ cout<<"Test("< <<","<<<")"<