摘要: 摘自 effective c++ // TODO 条款48 Be aware of template metaprogramming. // [9/29/2013 xiarl] templatestruct Factorial{ enum { value = n* Factorial::value };}; templatestruct Factorial{ enum { value = 1 };... 阅读全文
posted @ 2013-09-29 14:18 xiarunliang 阅读(161) 评论(0) 推荐(0)