From b92ee614f215def66a60fe49bcec1a8325cc1c16 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 7 Aug 2013 20:53:44 +0000 Subject: [PATCH] N3644 support for vector git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@187911 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/__bit_reference | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/__bit_reference b/include/__bit_reference index 58d475e43..857dd5a43 100644 --- a/include/__bit_reference +++ b/include/__bit_reference @@ -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