C++ templates

From: Hubert Figuiere (hfiguiere_at_teaser.fr)
Date: Thu Mar 11 2004 - 12:20:35 EST

  • Next message: msevior_at_physics.unimelb.edu.au: "Re: C++ templates"

    Hi,

    I'm about to change UT_Vector to use C++ template. The patch will be
    huge and is about to break all the platforms (I'll handle Unix and MacOS
    X).
    The idea is to use UT_GenericVector as a template class, UT_Vector being
    a UT_GenericVector<void*>.

    Why am I doing that ?
    Because there is a lot of casting madness while these allow enforcing a
    stronger type checking.

    I was wondering whether anyone had any objection.

    If that is OK, then I'll templatize UT_Stack.

    Hub



    This archive was generated by hypermail 2.1.4 : Thu Mar 11 2004 - 12:22:15 EST