This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
RE: Missing inlines?
- From: Joerg dot Richter at pdv-FS dot de
- To: bkoz at redhat dot com, libstdc++ at gcc dot gnu dot org
- Date: Thu, 11 Dec 2003 10:00:49 +0100
- Subject: RE: Missing inlines?
>>I just looked at some STL header (GCC 3.2.1) and found that there are
>>sometimes some 'inline' missing.
>>
>>For example in my installation the file
>>include/bits/stl_tree.h
>
>There has been work on this file in mainline sources, so your sources
>are out-of-date. You should be looking at 3.4/mainline sources.
I was aware of this fakt.
Btw. I found > 200 missing inlines in GCC 3.2.1 libstdc++-v3.
There where a lot in include/bits/stl_algo.h missing.
I just looked at gcc-3.4-20031210 and I still see some. Eg. Line
stl_algo.h:333
template<typename _ForwardIterator>
_ForwardIterator
adjacent_find(_ForwardIterator __first, _ForwardIterator __last)
{
But Bo Persson wrote that templates are automatic inline. So it should not
matter. But it is interesting why it seems to fix my problems.
Joerg