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: [patch] : so_7 search improvement take 2


Paolo Carlini wrote:

Paolo Carlini wrote:


Can you please check whether we have got all the explicit instantiations
right? I don't think so.



I'm finishing testing succesfully together with the below: I hope to
commit later today.

Paolo.

P.S. Notice that the new __search and __find_if are both 't', like the
existing search.


I can't test this right now, so sorry if this is obviously wrong, but does this work if all optimisation is turned off? The following two functions are being inlined away, but do they have to be instansiated for when the library is compiled without optimisation? (I might not have quite the right notation on these.. sorry)
template
const C*
find_if(const C*, const C*,
__gnu_cxx::__ops::__bind2nd<bool(*)(const C&, const C&), C>)



template
bool __gnu_cxx::__ops::__bind2nd<bool(*)(const C&, const C&, C>::operator();



Chris



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