摘要:
From: http://stackoverflow.com/questions/1708458/template-metaprogram-converting-type-to-unique-numbertemplate class TypeList{public: enum { position = (Prev::position) + 1, };};template class TypeList{public: enum { position = 0, };};#include int main(){ typedef TypeList ba... 阅读全文
posted @ 2014-01-12 22:45
vanxining
阅读(510)
评论(6)
推荐(0)

浙公网安备 33010602011771号