This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][libstdc++-v3 parallel mode] PR 33488 improved
- From: "Chris Jefferson" <chris at bubblescope dot net>
- To: "Johannes Singler" <singler at ira dot uka dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 28 Sep 2007 21:38:13 +0100
- Subject: Re: [PATCH][libstdc++-v3 parallel mode] PR 33488 improved
- References: <46FD39F9.9060801@ira.uka.de>
On 28/09/2007, Johannes Singler <singler@ira.uka.de> wrote:
> This should fix PR 33488, and a similar problem for inner_product, also
> adding corresponding test cases.
> Improved patch thanks to Sylvain Pion.
I'm slightly worried about the idea of adding something called
equal_to, which is almost but not exactly std::equal_to. This seems
that it might later cause nasty confusion in various ways.
I had a similar problem when I tried to remove the need for a seperate
implementation of each function with and without comparitor object,
the code produced and reasonably debugged is in libstdc++-v7.Have you
looked at how this problem was handled there, and considerduglifying
the non-standard equal_to, to avoid clashes?
Chris