Re: Templatize UT_Map?

From: Joaquin Cuenca Abela (
Date: Mon May 06 2002 - 13:30:47 EDT

  • Next message: David Chart: "Commit: MSDI Dox"

    Martin wrote:
    > On Sun, 5 May 2002, Joaquin Cuenca Abela wrote:
    > > I'm all for using templates, but I think that you will find some
    > > "resistance" here...
    > The resistance is that MSVC does not do templates. Since Windows is a
    > major target platform we can't use templates.

    As others have pointed out, msvc is able to handle (more or less :-)

    The main problem that msvc has with templates is that it doesn't support
    partial specialization (but it seems that they've finally implemented
    partial specialization in the microsoft internal version of the compiler...)

    But you don't need partial specialization to implement a templatized UT_Map
    (as the dinkumware implementation of std::map shows).

    Anyway, as I said, templates are not need to do what Christian was asking
    for (you only need them to do it in a sane^H^H^H^H typesafe way), and I
    don't want to start another big flamewar about the use of templates (call me
    loser :), so I hope that the discussion will end here.


    This archive was generated by hypermail 2.1.4 : Mon May 06 2002 - 13:29:55 EDT