[AGENT++] Why not use stl?
Dominik Vogt
dominik.vogt at external.thalesgroup.com
Thu Aug 5 11:08:07 CEST 2010
> 2010/8/5 Dominik Vogt <[1]dominik.vogt at external.thalesgroup.com>
>
> Is there a specific reason not to use the stl? �Much code could be
> saved by using standard template classes like vector or list. �For
> example, all or most of the code in List.h could be removed.
On Thu, Aug 05, 2010 at 10:44:56AM +0200, Evgeny Sabelskiy wrote:
> imho it is not good reason to replace one List.h by external big .so or
> .dll dynamic library.
Actually, the stl is not a dynamic library but a collection of
template classes and does not need to be linked at run time. It
is widely available and well tested, has decent memory management
and a host of available container classes that could be useful.
I'm not at the moment suggesting to replace the existing list and
array implementations. All I want to know is if it's acceptable
to use stl classes for further library development.
Ciao
Dominik ^_^ ^_^
More information about the AGENTPP
mailing list