Re: problem with template parameter in g++ 4.4.1

2010-03-04 Thread Andrew Pinski
On Thu, Mar 4, 2010 at 10:16 AM, hannibal81 wrote: > template class ST=std::vector> std::vector has two template arguments not just one. One of them has a default value though. But the C++ standard requires that the number of template arguments to match inside a template argument, this code is

problem with template parameter in g++ 4.4.1

2010-03-04 Thread hannibal81
I work on a library compiled with gcc4.0 and old versions. I want to insert OpenMP directives in the source code. So I compiled the code with gcc4.4 version since openmp is recognized that from version 4.2, but I get many errors especially at the Definiton of templates. So I want to know what is t