Advertisement

Templates - efficiency and implementation

Started by January 01, 2001 02:40 PM
31 comments, last by Kylotan 24 years ago
quote: Original post by Kylotan

Wilka, here''s an example of the STL bug/issue I was talking about:
compiled in MSVC5.0:

Works fine with MSVC5 and MSVC6 with the latest respective service packs . MSVC had severe known bugs with templates period (nothing to do with STL specifically) in their initial releases. The service packs fix most of the bugs. There are still some bugs, as I understand, with templated members--haven''t run into any myself. But I use STL extensively and haven''t had a bug yet. In fact, MSVC''s STL is more standard compliant than gcc''s STL.

I''ve been interviewing a lot of recent graduates lately and have found that most computer science programs (bachelor''s and master''s) seem to be using STL. It''s just a matter of time before the population at whole adopts this newest part of the C++ standard. But of course, you should always know your compiler--no compiler is without bugs or limitations, at least not yet.
Kylotan:

Are u building static libs of common classes so that you don''t have to compile them when you do a full rebuild.
Advertisement
Void: Makes no difference whether they''re static libs or not. I only ever rebuild the stuff that needs rebuilding.

Stoffel: I can''t apply the service packs cos I have the cheap version of MSVC5. Oh well.

Wilka: I dunno anything about custom build steps... would I have to set that up on a per-file basis? Would it be feasible to instead write a DevStudio macro to compile using Borland?

*sigh* And Visual C++ was the only Microsoft product I liked, too.

This topic is closed to new replies.

Advertisement