Missing inlines?
Joerg.Richter@pdv-FS.de
Joerg.Richter@pdv-FS.de
Thu Dec 11 09:02:00 GMT 2003
>>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
More information about the Libstdc++
mailing list