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] : Fix std::mismatch concept check


Hi,

This patch fixes the concept check on std::mismatch. Given mismatch(first1, last1, first2), the old concept check made sure that *first1==*first1 and *first2==*first2 are defined. In fact what is required is that *first1=*first2 is required.

your patch seems obviously correct to me (indeed, std::equal below is already doing the right thing) and, if nobody objects, I gonna apply it first.


Thanks!
Paolo.


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