Item 47: Use traits classes for information about types(Effective C++)
摘要:
Traits classes make information about types available during compilation. They're implemented using templates and template specializations. In conjunction with overloading, traits classes make it possible to perform compile-time if...else tests on types. 阅读全文
posted @ 2011-04-08 22:03 Ray Z 阅读(129) 评论(0) 推荐(0) 编辑