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] | |
... this fixes the last remaining compile fail for libstdc++ in parallel mode. This is necessary from bits/stl_algobase.h line 901: if (*__first1 < *__first2) return true; if (*__first2 < *__first1) The fix is to put in an operator< for both arguments for the two-argument __gnu_parallel::less, and to add a partial specialization for single-argument __parallel::less, to avoid ambiguity when the arguments are of the same type. I'd actually put this in earlier drafts, but taken it out by mistake. Ok? tested x86/linux tested x86/linux parallel -benjamin
Attachment:
p.20070913
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |