genericopenlibs/cppstdlib/stl/test/compiler/ttei6.cpp
author Fionntina Carville <fionntinac@symbian.org>
Mon, 25 Oct 2010 16:12:48 +0100
branchRCL_3
changeset 76 c9f2a8896598
parent 0 e4d67989cc36
child 18 47c74d1534e1
permissions -rw-r--r--
Merge Bug 2603 and Bug 3123 plus move exports to rom/bld.inf

/*
 * 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;
};