ttei6.cpp

来自「stl的源码」· C++ 代码 · 共 31 行

CPP
31
字号
/* * It is known that this code not compiled by following compilers: * * It is known that this code compiled by following compilers: * *   MSVC 6 *   MSVC 8 Beta *//* * This code represent what STLport waits from a compiler which support * member template classes (!_STLP_NO_MEMBER_TEMPLATE_CLASSES) */template <typename T1>struct A{  template <typename T2>  struct B  {    typedef T2 _Type;  };};template <typename T1, typename T2>struct C{  typedef typename A<T1>:: template B<T2>::_Type ABType;};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?