This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: First patch to simplify <algorithm>
- From: Phil Edwards <phil at codesourcery dot com>
- To: caj <caj at cs dot york dot ac dot uk>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 9 Dec 2004 06:23:40 -0500
- Subject: Re: First patch to simplify <algorithm>
- References: <41B3163C.4030401@cs.york.ac.uk> <41B316B3.6080202@cs.york.ac.uk>
- Reply-to: libstdc++ at gcc dot gnu dot org
On Sun, Dec 05, 2004 at 02:09:55PM +0000, caj wrote:
> Woops, missed a file I should have attached. Sorry.
> // Default predicates for use in algorithm -*- C++ -*-.
>
> // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
> // Free Software Foundation, Inc.
Unless you've been working on this simplification in secret for seven
years, this should only be
// Copyright (C) 2004 Free Software Foundation, Inc.
--
AI.cpp:33241: warning: You wrote 'neurons.merge(solution1, solution2)",
AI.cpp:33241: you probably MEANT "neurons->merge(solution1, solution2)",
AI.cpp:33241: but there is a MUCH better way to implement this whole
AI.cpp:33241: function; doing that instead.