锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久男人Av资源网站无码软件,国产69精品久久久久久人妻精品,久久人人青草97香蕉http://www.shnenglu.com/Robertxiao/category/17418.htmlzh-cnFri, 29 Jul 2011 10:15:08 GMTFri, 29 Jul 2011 10:15:08 GMT60c++0x 緋誨垪<result_of>http://www.shnenglu.com/Robertxiao/articles/152019.htmlRobertxiaoRobertxiaoFri, 29 Jul 2011 02:24:00 GMThttp://www.shnenglu.com/Robertxiao/articles/152019.htmlhttp://www.shnenglu.com/Robertxiao/comments/152019.htmlhttp://www.shnenglu.com/Robertxiao/articles/152019.html#Feedback0http://www.shnenglu.com/Robertxiao/comments/commentRss/152019.htmlhttp://www.shnenglu.com/Robertxiao/services/trackbacks/152019.htmlresult_of 鐢ㄤ簬鎺ㄥ鍙皟鐢ㄥ璞$殑榪斿洖綾誨瀷銆?br />澶ц嚧瀹氫箟錛?br />template<class Ty>
    struct result_of {
    typedef T0 type;
    };
Ty: 鍙皟鐢ㄧ被鍨嬶紝

The template class defines its member type as a synonym for the return type of a function call described by its template argument Ty. The template argument must be of the form Fty(T1, T2, ..., TN), where Fty is a callable type. The template determines the return type according to the first of the following rules that applies:

  • if Fty is a pointer to function type R(*)(U1, U2, ..., UN) the return type is R;

  • 濡傛灉Fty鏄釜R(*)(U1, U2, ..., UN) 鍑芥暟鎸囬拡錛岄偅涔堣繑鍥炵被鍨嬫槸R

  • if Fty is a reference to function type R(&)(U1, U2, ..., UN) the return type is R;

  • 濡傛灉Fty鏄釜R(&)(U1, U2, ..., UN) 鍑芥暟鎸囬拡錛岄偅涔堣繑鍥炵被鍨嬫槸R

  • if Fty is a pointer to member function type R(U1::*)(U2, ..., UN) the return type is R;

  • 濡傛灉Fty鏄釜R(U1::*)(U2, ..., UN)鎴愬憳鍑芥暟鎸囬拡錛岄偅涔堣繑鍥炵被鍨嬫槸R

  • if Fty is a pointer to data member type R U1::* the return type is R;

  • 濡傛灉Fty鏄釜R U1::* 鎴愬憳鍙橀噺鎸囬拡錛岄偅涔堣繑鍥炵被鍨嬫槸R

  • if Fty is a class with a member typedef result_type the return type is Fty::result_type;

  • 濡傛灉Fty鏄竴涓被騫朵笖鍏朵腑瀹氫箟浜?span class="parameter" xmlns="http://www.w3.org/1999/xhtml">result_type 錛岄偅涔堣繑鍥炵被鍨嬫槸Fty::result_type

  • if N is 0 (that is, Ty is of the form Fty()) the return type is void;

  • 濡傛灉Fty鍑芥暟涓嶅甫鏈変換浣曠殑鍙傛暟錛岄偅涔堣繑鍥炵被鍨嬫槸void

  • if Fty is a class with a member template named result the return type is Fty::result<T1, T2, ..., TN>::type;

  • 濡傛灉Fty鏄釜綾誨茍涓旀湁涓垚鍛樻ā鏉挎槸result,閭d箞榪斿洖綾誨瀷鏄疐ty::result<T1, T2, ..., TN>::type

  • in all other cases it is an error.

  • 鍏跺畠鎯呭喌灝變細鍑洪敊



]]>
久久精品一本到99热免费| 久久国产色AV免费看| 久久男人中文字幕资源站| 久久久精品国产亚洲成人满18免费网站 | 久久99国产精品99久久| 国产精品成人99久久久久 | 久久人人爽人人爽人人片AV不| 久久久久波多野结衣高潮| WWW婷婷AV久久久影片| 国产精品熟女福利久久AV| 性做久久久久久久| 精品久久综合1区2区3区激情| 精品综合久久久久久98| 国产精品欧美久久久久无广告| 久久久一本精品99久久精品88| 国产精品一区二区久久| 久久久高清免费视频| 亚洲综合婷婷久久| 国产精品久久成人影院| 久久精品中文字幕一区| 无码任你躁久久久久久久| 嫩草影院久久99| 久久国产乱子伦精品免费强| 久久久免费精品re6| 18岁日韩内射颜射午夜久久成人| 狠狠综合久久综合中文88| 国产一区二区精品久久| 久久婷婷成人综合色综合| 中文字幕久久久久人妻| 久久天天躁狠狠躁夜夜不卡| 久久这里只有精品视频99| 久久精品国产一区二区三区| 国产精品一区二区久久精品无码| 青青青国产成人久久111网站| a级成人毛片久久| 日韩精品国产自在久久现线拍| 久久综合狠狠综合久久激情 | 婷婷久久综合九色综合98| 国产69精品久久久久9999| 青青热久久综合网伊人| 国产L精品国产亚洲区久久|