   TEMPLATES and MICROSOFT
  Why doesn't Microsoft implement templates as dictated by the C++ standard. I've seen till VS.NET 2003, and their compilers do not allow putting declarations in a .H file and their implementations in a .CPP...Are there any compilers that can do that or am I wrong about something here?   
  The MSVC 7.1 compiler is actually one of the most compliant C++ compilers out there these days.Templates MUST be completely declared and defined within each compilation unit that uses them. This usually means placing it all in a header file. There has been work done on using the 'export' keyword to change this, but from what I've read there hasn't been much significant progress. So to answer your question: no there isn't.   ;  Indeed, even Comeau does not support the export keyword, and it is one of the most standard-respectful compilers.   ;  I heard that even the next standard is going to remove the export keyword.   ;Quote:Original post by ToohrVykIndeed, even Comeau does not support the export keyword, and it is one of the most standard-respectful compilers.Comeau does support export.   ;Quote:Original post by NitageQuote:Original post by ToohrVykIndeed, even Comeau does not support the export keyword, and it is one of the most standard-respectful compilers.Comeau does support export.In fact, it's just about the only one that does.   ;Quote:Original post by Colin JeanneI heard that even the next standard is going to remove the export keyword.I heard they changed their mind back again (and won't be removing it... which is just silly).   ;  export is an incredibly complex little keyword; its not likely to be supported by any other compilers, ever. this article discusses the export keyword, why it is not as great as everybody assumes it would be, and why its a colossal pain to implement. It's a pretty good read.   ;Quote:Original post by NitageQuote:Original post by ToohrVykIndeed, even Comeau does not support the export keyword, and it is one of the most standard-respectful compilers.Comeau does support export.This page mentions the export keyword, saying that it is one of the C++ features not supported. But I believe your link is the most up to date.