- 博客(2)
- 收藏
- 关注
原创 c++ 模板
1.检查类里的类别是否存在 typedef char (&yes_type)[1]; typedef char (&no_type) [2]; #define IMPLEMENT_CHECK_TYPE_EXIST(type) \ template \ struct check_exist_##type \ { \ template \ static yes_type check(typen
2012-10-17 16:52:42 51
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人