Re: Bug? in VC6/VC7.0-- template specialization does not require template<> syntax
From: David Lowndes (davidl_at_example.invalid)
Date: 10/29/04
- Next message: Roman Yankin: "MSVC(Ent2003) stopped evaluating changes made to code"
- Previous message: Simon Trew: "Re: Template specialization to get just-wide-enough integer"
- In reply to: Simon Trew: "Bug? in VC6/VC7.0-- template specialization does not require template<> syntax"
- Next in thread: Carl Daniel [VC++ MVP]: "Re: Bug? in VC6/VC7.0-- template specialization does not require template<> syntax"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Roman Yankin: "MSVC(Ent2003) stopped evaluating changes made to code"
- Previous message: Simon Trew: "Re: Template specialization to get just-wide-enough integer"
- In reply to: Simon Trew: "Bug? in VC6/VC7.0-- template specialization does not require template<> syntax"
- Next in thread: Carl Daniel [VC++ MVP]: "Re: Bug? in VC6/VC7.0-- template specialization does not require template<> syntax"
- Messages sorted by: [ date ] [ thread ]