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

Craig Topper craig.topper at gmail.com
Wed Aug 7 21:19:17 PDT 2013


The comment in the test case says N3664 instead of N3644


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130807/dec95ef9/attachment.html>


More information about the cfe-commits mailing list