September 30, 2006
This code doesn't compile with DMC++ (8.49):

namespace Private
{
   template<class T>
   class Helper;
}

class Test
{
   template<class T>
   friend class Private::Helper;
};


Seems like the namespace Private is mistaken for a class name

   friend class Private::Helper;
                               ^
quick_test.cpp(10) : Error: ';' expected following declaration of
class template  'Private'



Bo Persson