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: [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


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