摘要: 1 // 先定义两种类型 2 struct A{}; 3 struct B{}; 4 5 class Foo 6 { 7 public: 8 // 将类型A绑定到Foo 9 typedef A classtype; 10 11 void foo() 12 { 13 std::cout 31 class test_traits... 阅读全文
posted @ 2016-04-10 13:13 我们的时光 阅读(251) 评论(0) 推荐(0) 编辑