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

Marshall Clow mclow.lists at gmail.com
Wed Aug 7 13:53:44 PDT 2013


Author: marshall
Date: Wed Aug  7 15:53:44 2013
New Revision: 187911

URL: http://llvm.org/viewvc/llvm-project?rev=187911&view=rev
Log:
N3644 support for vector<bool>

Modified:
    libcxx/trunk/include/__bit_reference

Modified: libcxx/trunk/include/__bit_reference
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__bit_reference?rev=187911&r1=187910&r2=187911&view=diff
==============================================================================
--- libcxx/trunk/include/__bit_reference (original)
+++ libcxx/trunk/include/__bit_reference Wed Aug  7 15:53:44 2013
@@ -1108,7 +1108,11 @@ private:
     unsigned          __ctz_;
 
 public:
-    _LIBCPP_INLINE_VISIBILITY __bit_iterator() _NOEXCEPT {}
+    _LIBCPP_INLINE_VISIBILITY __bit_iterator() _NOEXCEPT
+#if _LIBCPP_STD_VER > 11
+    : __seg_(nullptr), __ctz_(0)
+#endif
+    {}
 
     _LIBCPP_INLINE_VISIBILITY
     __bit_iterator(const __bit_iterator<_Cp, false>& __it) _NOEXCEPT





More information about the cfe-commits mailing list