Re: [htdig3-dev] STL


Torsten Neuer (tneuer@inwise.de)
Wed, 7 Apr 1999 12:13:35 +0200


On Mit, 07 Apr 1999, Vadim Chekan wrote:
>Hello everybody!
>
>I have some fundamental question about HtDig.
>
>1. Why you don't use STL but write your own version of a queue, vector,
>stack, etc.

Maybe because using STL is
- outdated (STL is superseeded by C++ Standard Library)
- incompatible for many outdated C++ compilers (not all are able to
  compile STL or have all features of ANSI/ISO C++, e.g. there are
  many g++ installations out there which are < 2.8.x and therefore
  not ANSI compliant)
- sucking a lot, because there are multiple versions of STL (HP, etc)
  which are incompatible and therefore causing a lot of work for the
  configuration.

>2. The same qestion about htStrings class. Why can't it be inherited
>from String class in GNU library. I'm not expert C++ and I don't know
>wether String class is described in C++ standart.

It is.. and it is described different in every implementation of the
older STL. To avoid a lot of platform incompatibility, it is still
necessary to write stuff of its own - unless someone can *guarantee*
that there are only compliant compilers and libraries out there.

cheers,
  Torsten

P.S.: Did I opt for porting the whole thing to Ada yet? >:-)

--
InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Waldhofstraße 14                            Tel: +49-4101-403605
D-25474 Ellerbek                            Fax: +49-4101-403606
E-Mail: info@inwise.de            Internet: http://www.inwise.de

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev@htdig.org containing the single word "unsubscribe" in the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Wed Apr 07 1999 - 03:38:33 PDT