浅墨浓香

想要天亮进城,就得天黑赶路。
随笔 - 743, 文章 - 16, 评论 - 87, 阅读 - 53万

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

2020年4月25日

摘要: 6.4 Using enable_if<> 6.4 使用enable_if<> We can use enable_if<> to solve our problem with the constructor template introduced in Section 6.2 on page 95 阅读全文

posted @ 2020-04-25 23:12 浅墨浓香 阅读(776) 评论(0) 推荐(0) 编辑

摘要: 6.3 Disable Templates with enable_if<> 6.3 使用enable_if<>来禁用模板 Since C++11, the C++ standard library provides a helper template std::enable_if<> to ign 阅读全文

posted @ 2020-04-25 20:28 浅墨浓香 阅读(1030) 评论(0) 推荐(0) 编辑

摘要: 6.2 Special Member Function Templates 6.2 特殊成员函数模板 Member function templates can also be used as special member functions, including as a constructor, 阅读全文

posted @ 2020-04-25 18:24 浅墨浓香 阅读(322) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示