This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]