Re: Bug? in VC6/VC7.0-- template specialization does not require template<> syntax

From: David Lowndes (davidl_at_example.invalid)
Date: 10/29/04


Date: Fri, 29 Oct 2004 11:28:01 +0100


>This compiles successfully on VC6 and VC7.0 (as supplied with .NET framework
>1.0 v1.0.3705). I believe this code is incorrect. The template class
>specialization requires template<> syntax.

VC7.1 reports:

error C2906: 'std::vector<bool,my_allocator<T>>' : explicit
specialization requires 'template <>'

VC7.1 is much more standard conformant than 7.0 (or 6) was.

Dave