Re: specific instantiation of static members from template class

2005-11-17 Thread Jonathan Wakely
cedric wrote: > > hello, I have a problem when I try to instantiate static members. this code > works with gcc-3.4.5 but not with gcc-4.0.2 (debian sid). > here a test case with 3 files : > > > / main.cpp > #include > #include "Test.h" > > int main(int argc, char **argv) > { > std:

specific instantiation of static members from template class

2005-11-17 Thread cedric
hello, I have a problem when I try to instantiate static members. this code works with gcc-3.4.5 but not with gcc-4.0.2 (debian sid). here a test case with 3 files : / main.cpp #include #include "Test.h" int main(int argc, char **argv) { std::cout << TestInt::member << std::endl;