Article ID: 151167
Article Last Modified on 12/2/2003
/* Compile options needed: none
*/
template<class T> class Outer
{
public:
static T souter;
class Inner
{
public:
static T sobj;
};
};
template <class T> double Outer<double>::souter = 1;
template <class T> int Outer<int>::Inner::sobj = 5;
void main()
{
double dval = Outer<double>::souter;
int i = Outer<int>::Inner::sobj;
}
Additional query words: kbVC400bug
Keywords: kbbug kbcpponly kbcompiler KB151167