Hi all,
got a question about about a static data in a template of template ; this
code does NOT compile under VC++ .NET 2002 :
template<template<typename> class C1, class C2>
class Test
{
public:
Test() { m_i = 1; }
static int m_i;
};
template<template<typename> class C1, class C2>
int Test<C1, C2>::m_i; // ERROR
this seems to be due to the fact that a template of template does not allow
external declarations, so, no way to use static data :(
can anyone tell me if this has been fixed in the 2003 edition ?
tia.