[ 
https://issues.apache.org/jira/browse/STDCXX-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532168
 ] 

Farid Zaripov commented on STDCXX-235:
--------------------------------------

I suppose that the following lines:

    assert (!(cbegin == begin));
    assert (!(begin == cbegin));

should be replaced to:

    assert (!(cbegin != begin));
    assert (!(begin != cbegin));


> std::vector<bool>::iterators not symmetric
> ------------------------------------------
>
>                 Key: STDCXX-235
>                 URL: https://issues.apache.org/jira/browse/STDCXX-235
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 23. Containers
>         Environment: all
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to