摘要: g++ future.cpp -std=c++1y -g -pthread .输出: 可见,当函数 print_int1(int&),且std::ref(value1) 时,是传递的引用。 #include <functional> #include <iostream> void f(int& n 阅读全文
posted @ 2017-02-22 10:03 穆穆兔兔 阅读(232) 评论(0) 推荐(0) 编辑