[libcxx] r187910 - N3644 support for vector<bool>

Marshall Clow mclow.lists at gmail.com
Wed Aug 7 22:04:51 PDT 2013


On Aug 7, 2013, at 9:19 PM, Craig Topper <craig.topper at gmail.com> wrote:

> The comment in the test case says N3664 instead of N3644

Wow.
I am impressed that people look at my submissions that closely ;-)

Since there are a lot of very similar tests, there are actually 13 of these.

I'll fix 'em tomorrow.

-- Marshall

> 
> On Wed, Aug 7, 2013 at 1:53 PM, Marshall Clow <mclow.lists at gmail.com> wrote:
> Author: marshall
> Date: Wed Aug  7 15:53:38 2013
> New Revision: 187910
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=187910&view=rev
> Log:
> N3644 support for vector<bool>
> 
> Modified:
>     libcxx/trunk/test/containers/sequences/vector.bool/iterators.pass.cpp
> 
> Modified: libcxx/trunk/test/containers/sequences/vector.bool/iterators.pass.cpp
> URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/containers/sequences/vector.bool/iterators.pass.cpp?rev=187910&r1=187909&r2=187910&view=diff
> ==============================================================================
> --- libcxx/trunk/test/containers/sequences/vector.bool/iterators.pass.cpp (original)
> +++ libcxx/trunk/test/containers/sequences/vector.bool/iterators.pass.cpp Wed Aug  7 15:53:38 2013
> @@ -94,4 +94,16 @@ int main()
>          C::const_iterator j;
>      }
>  #endif
> +#if _LIBCPP_STD_VER > 11
> +    { // N3664 testing
> +        std::vector<bool>::iterator ii1{}, ii2{};
> +        std::vector<bool>::iterator ii4 = ii1;
> +        std::vector<bool>::const_iterator cii{};
> +        assert ( ii1 == ii2 );
> +        assert ( ii1 == ii4 );
> +        assert ( ii1 == cii );
> +        assert ( !(ii1 != ii2 ));
> +        assert ( !(ii1 != cii ));
> +    }
> +#endif
>  }
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> 
> 
> 
> -- 
> ~Craig

-- Marshall

Marshall Clow     Idio Software   <mailto:mclow.lists at gmail.com>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130807/d3b7a1ed/attachment.html>


More information about the cfe-commits mailing list