On Thu, Mar 4, 2010 at 10:16 AM, hannibal81 <jallo...@yahoo.fr> wrote: > template<typename P, template<typename T> 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 invalid. GCC before 4.3 accepted the code as an "undocumented extension" (undocumented meaning it was a bug). Thanks, Andrew Pinski