This is the mail archive of the
mailing list for the libstdc++ project.
Re: unsafe STL patch
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: François Dumont <francois dot cppdevs at free dot fr>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 03 Feb 2010 21:45:10 +0100
- Subject: Re: unsafe STL patch
- References: <4B5F586C.firstname.lastname@example.org> <4B5F5C2A.email@example.com> <4B61F770.firstname.lastname@example.org> <4B61FA19.email@example.com> <4B620F54.firstname.lastname@example.org> <4B620F96.email@example.com> <4B635D2C.firstname.lastname@example.org> <4B6361AF.email@example.com> <4B673BFB.firstname.lastname@example.org> <4B674B57.email@example.com> <4B69DED3.firstname.lastname@example.org>
On 02/03/2010 09:38 PM, François Dumont wrote:
> I kept on working on my patch and try to use __iter_base from
> stl_algobase.h. The problem is that there is a cyclic dependency
> between bits/stl_algobase.h and debug/functions.h when _GLIBCXX_DEBUG
> is defined. So __iter_base must be isolated in an other header. Should
> it be in a dedicated header or you know a header I could use ?
I don't think you need anything special because list and all the other
containers *already* include stl_algobase.h. Thus, just use what it
provides, __iter_base too.
I'm not sure to understand: did you complete and submit the
questionnaire I sent you privately? Did you get the forms?