浅墨浓香

想要天亮进城,就得天黑赶路。

导航

2020年4月19日

摘要: 5.4 Templates for Raw Arrays and String Literals 5.4 原生数组和字符串字面量的模板 When passing raw arrays or string literals to templates, some care has to be taken 阅读全文

posted @ 2020-04-19 13:57 浅墨浓香 阅读(244) 评论(0) 推荐(0) 编辑

摘要: 5.3 Using this-> 5.3 this->的使用 For class templates with base classes that depend on template parameters, using a name x by itself is not always equiva 阅读全文

posted @ 2020-04-19 13:53 浅墨浓香 阅读(224) 评论(0) 推荐(0) 编辑

摘要: 5.2 Zero Initialization 5.2 零初始化 For fundamental types such as int, double, or pointer types, there is no default constructor that initializes them wi 阅读全文

posted @ 2020-04-19 13:51 浅墨浓香 阅读(258) 评论(0) 推荐(0) 编辑

摘要: Chapter 5:Tricky Basics 第5章 技巧性基础知识 This chapter covers some further basic aspects of templates that are relevant to the practical use of templates: a 阅读全文

posted @ 2020-04-19 13:48 浅墨浓香 阅读(309) 评论(0) 推荐(0) 编辑