2015年7月5日

转载——c++中冒号(:)和双冒号(::)的用法

摘要: 1.冒号(:)用法(1)表示机构内位域的定义(即该变量占几个bit空间)typedef struct _XXX{unsigned char a:4;unsigned char c;} ; XXX(2)构造函数后面的冒号起分割作用,是类给成员变量赋值的方法,初始化列表,更适用于成员变量的常量const... 阅读全文

posted @ 2015-07-05 23:09 FEMONT 阅读(241) 评论(0) 推荐(0)

Template Metaprogramming with Modern C++: Introduction

摘要: Template Metaprogramming with Modern C++: IntroductionPosted onSeptember 10, 2014byManu SánchezTemplate Metaprogramming with Modern C++: IntroductionA... 阅读全文

posted @ 2015-07-05 20:59 FEMONT 阅读(452) 评论(0) 推荐(0)

导航