Re: Using stl containers in gcc

2016-05-03 Thread Jakub Jelinek
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 PO

Re: Using stl containers in gcc

2016-05-03 Thread Andres Tiraboschi
This raises a further question: why are gcc containers preferred over stl ones. Thanks, Andrés. 2016-05-03 12:02 GMT-03:00 Jakub Jelinek : > 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 goo

Re: Using stl containers in gcc

2016-05-03 Thread Jakub Jelinek
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

Re: Using stl containers in gcc

2016-05-03 Thread Jeff Law
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 c