This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using stl containers in gcc


On Tue, May 03, 2016 at 12:30:35PM -0300, Andres Tiraboschi wrote:
> This raises a further question: why are gcc containers preferred over stl ones.

For consistency, because they play well together with the garbage
collection, because they are tuned for GCC's needs (e.g. to be usable even
in POD structs/unions where needed, to reduce their size in the common case,
etc.).

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]