作者 Anonymous [actionscript] 2007-10-04 22:47 (点击下载)

  1. #include <string>
  2. #include <map>
  3. template <typename T>
  4. class foo
  5. {
  6. std::map<std::string, T> bar;
  7. };
  8.  
  9. void func()
  10. {
  11. foo<int> a;
  12. }

提交下面的校正或者修改. (点击这里开始一个新的帖子)
姓名: 在 cookie 中记住我的名字

屏幕抓图:(jpeg 或 png)