Patch: Templatize UT_Vector, take 2

From: Hubert Figuiere (hfiguiere_at_teaser.fr)
Date: Mon Mar 15 2004 - 17:54:11 EST

  • Next message: Marc Maurer: "ATTN: Intent to release 2.1.1"

    Hi,

    I updated my patch:
    -I no longer break the ispell spellchecker
    -I fixed MacOS X.

            http://www.figuiere.net/hub/template2.diff.bz2

    Here are a few Q&A that got raised:

    Q: Why don't you use STL ?

    A: Because it would require much larger changes in our code base than
    this simple templatization of code we already use and know it works.

    Q: UT_Vector is typedef'ed. Why ?

    A: This is to ease porting. It'll be dropped soon. Same of
    UT_NumberVector

    Q: But fjf UT_NumberVector will go away ?

    A: sure. it is no longer needed.

    Q: what about the rest ?

    A: UT_Pair, UT_Stack, etc. They'll all be.

    Now, I need you. I need you feedback. I'll hold this 'til 2.1.1 is
    released.

    Hub



    This archive was generated by hypermail 2.1.4 : Mon Mar 15 2004 - 17:56:16 EST