创建一个匿名函数并执行。Objective-C采用的是上尖号^,而C++ 11采用的是配对的方括号[]。实例如下: 1 2 3 4 5 6 7 8 9 #include <iostream> using namespace std; int main() { []{ cout << "Hello,W Read More
posted @ 2017-12-19 01:18 findumars Views(12700) Comments(1) Diggs(7)