摘要:
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 浅墨浓香 阅读(734) 评论(0) 推荐(0) 编辑
|
||
摘要:
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 浅墨浓香 阅读(734) 评论(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 浅墨浓香 阅读(936) 评论(0) 推荐(0) 编辑 |
||