[Ns-developers] new ns-2 software contributions
Mathieu Lacage
Mathieu.Lacage at sophia.inria.fr
Tue Mar 29 00:27:58 PST 2005
On Mon, 2005-03-28 at 10:03 -0800, John Heidemann wrote:
> On Sun, 27 Mar 2005 21:50:39 PST, Tom Henderson wrote:
> >My recollection is that STL was avoided in the past because not all
> >compilers supported it consistently-- I think those days are behind us
> >now, though, and would support and prefer using the STL in the future.
>
> In the current codebase STL is accepted, but optional.
> Currently ns compliles without STL if you chose.
>
> You may or may not want to change that policy.
yes, I would like to change that policy:
1) all new code should not try to use the BSD-style list macros
2) new code should use the STL
3) old code should be slowly migrated to the STL
The reasons are:
1) the build option to not use the STL will never break because it does
not exist anymore
2) coding style consistency
I won't try to convince anyone that the STL is better because I don't
believe it myself but it seems to work for many people so, I think we
should stick with it.
Mathieu
More information about the Ns-developers
mailing list