This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] stl enums
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 12 Mar 2002 07:48:11 +0100 (CET)
- Subject: Re: [v3] stl enums
On Mon, 11 Mar 2002, Benjamin Kosnik wrote:
> try this
>
> 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
>
> * include/bits/stl_bvector.h: Fix warning.
This fixes it, thanks!
Perhaps you could also add my small testcase to the testsuite (compiled
with -W) to avoid regressions in the future?
#include <algorithm>
#include <vector>
using namespace std;
typedef vector<bool> BOOLS;
void f() {
BOOLS v, w;
copy(v.begin(),v.end(),inserter(w,w.end()));
}
Gerald