On Tue, May 03, 2016 at 08:59:11AM -0600, Jeff Law wrote: > On 05/03/2016 08:44 AM, Andres Tiraboschi wrote: > >Hi, > >Does anyone know if there is a good reason for not using stl > >containers in gcc sources? > >I'm asking because I didn't find any use of them in the code I read. > The GCC coding conventions allow the use of the standard library; but you > have to be careful WRT objects that are subject to garbage collection.
And, if there is a GCC counterpart of a particular container, the GCC counterpart should be used instead of the stl one. E.g. vec, or hash_map etc. Jakub