Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-235

std::vector<bool>::iterators not symmetric

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • 23. Containers
    • None
    • all

    Description

      Moved from the Rogue Wave bug tracking database:

      ***Created By: sebor @ Jun 27, 2000 01:05:10 PM***
      Chichiang Wan wrote:
      >
      > Chichiang Wan wrote:
      > >
      > > Martin,
      > >
      > > Iterator relation operator support is missing for vector<bool>. Is
      > > there a reason for that?
      > >
      >
      > I mean for mixing iterator and const_iterator.

      Well, getting the iterators working was quite a bit of work and we just ran out of time. (Also, given the chaos surrounding vector<bool> in general I didn't consider it as important as all the others.) I would recommend users to not use the class (#define _RWSTD_NO_VECTOR_BOOL). We will probably eventually rewrite vector<bool> and the iterators but I don't think it will happen anytime soon. I created incident #23164.

      Martin

      >
      > – Chichiang

      Attachments

        Activity

          People

            sebor Martin Sebor
            sebor Martin Sebor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: