锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久亚洲AV成人无码国产,精品久久久久久久久久中文字幕 ,国产香蕉97碰碰久久人人http://m.shnenglu.com/r2100/category/21113.htmlzh-cnSun, 28 Jun 2015 15:44:29 GMTSun, 28 Jun 2015 15:44:29 GMT60boost bind,functionhttp://m.shnenglu.com/r2100/articles/211078.htmlr2100r2100Sun, 28 Jun 2015 15:25:00 GMThttp://m.shnenglu.com/r2100/articles/211078.htmlhttp://m.shnenglu.com/r2100/comments/211078.htmlhttp://m.shnenglu.com/r2100/articles/211078.html#Feedback0http://m.shnenglu.com/r2100/comments/commentRss/211078.htmlhttp://m.shnenglu.com/r2100/services/trackbacks/211078.html
 1 // boost.cpp : 瀹氫箟鎺у埗鍙板簲鐢ㄧ▼搴忕殑鍏ュ彛鐐廣?br /> 2 //
 3 
 4 #include "stdafx.h"
 5 
 6 #include <iostream>  
 7 #include <boost/thread/thread.hpp>  
 8 #include <boost/bind.hpp>
 9 #include <boost/function.hpp>
10 void hello(int i, int j)  
11 {  
12     std::cout << "Hello world, I'm a thread!" << std::endl;  
13     std::cout<< i+j << std::endl;
14 }  
15 
16 class A
17 {
18 public:
19     void hello(int i, int j){
20         std::cout<<i+j<<std::endl;
21     }
22 };
23 
24 int _tmain(int argc, _TCHAR* argv[])
25 {
26     //boost::thread thrd(&hello);  
27     //thrd.join(); 
28 // bind
29 //     A a;
30 //     boost::bind(&A::hello, a, 1, 2)(1,2);
31 //     boost::function<void(int,int)> f;
32 
33 // function
34 //     boost::function<void(int,int)> f;
35 //     f = hello;
36 //     f(1,2);
37 
38     A a;
39     boost::function<void(A,intint)> cf;
40     cf=&A::hello;
41     cf(a,1,2);
42 
43 // bind & function    
44 //     boost::function<void(int,int)> f;
45 //     f=boost::bind(hello,_1,_2);
46 //     f(1,1);
47 // 
48 //     A a;
49 //     boost::function<void(int, int)> cf;
50 //     cf=boost::bind(&A::hello,a,_1,_2);
51 //     cf(1,1);
52 // 
53 //     boost::function<>
54 
55     return 0;
56 }
57 


r2100 2015-06-28 23:25 鍙戣〃璇勮
]]>
久久久久国产精品| 久久亚洲精品国产亚洲老地址| 91久久精品国产免费直播| av无码久久久久久不卡网站| 久久精品国产影库免费看| 国产精品久久毛片完整版| 精品视频久久久久| 久久精品国产男包| 久久美女人爽女人爽| 一本久久精品一区二区| 亚洲国产精品无码成人片久久| 91视频国产91久久久| 久久精品这里只有精99品| 中文字幕乱码人妻无码久久| 日韩欧美亚洲综合久久影院d3| 欧美性大战久久久久久| 亚洲国产精品无码久久久蜜芽 | 久久婷婷国产剧情内射白浆| 国产aⅴ激情无码久久| 国产成人久久精品二区三区| 久久综合狠狠综合久久综合88| 91久久成人免费| 久久久久久久久久久久久久 | 精品国产乱码久久久久久1区2区| 国产精品一区二区久久| 一本色综合久久| 国产激情久久久久影院老熟女| 久久久久99精品成人片欧美| 亚洲中文字幕伊人久久无码| 精品久久久久久无码人妻蜜桃| 国产精品一区二区久久不卡| 久久黄视频| 日日狠狠久久偷偷色综合免费| 91久久精品国产成人久久| 国产精品久久久久久久久久影院| 久久精品国产精品亚洲精品| 国产午夜福利精品久久2021| 国产精品99久久免费观看| 国产∨亚洲V天堂无码久久久| 久久66热人妻偷产精品9| 精品国产乱码久久久久久1区2区 |