摘要: C++模板进阶指南:SFINAE 空明流转(https://zhuanlan.zhihu.com/p/21314708) SFINAE可以说是C++模板进阶的门槛之一,如果选择一个论题来测试对C++模板机制的熟悉程度,那么在我这里,首选就应当是SFINAE机制。 我们不用纠结这个词的发音,它来自于 阅读全文
posted @ 2018-11-06 08:29 gqtc 阅读(2055) 评论(0) 推荐(1)
摘要: There's an interesting issue one has to consider when mixing function overloading with templates in C++. The problem with templates is that they are u 阅读全文
posted @ 2018-11-06 08:25 gqtc 阅读(816) 评论(0) 推荐(0)