diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2013-08-07 20:53:44 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2013-08-07 20:53:44 +0000 |
commit | 36b2a3b0e5c9b363514af2e22e03678ed0287e2e (patch) | |
tree | cb28c0092d090145109737d8c6c54cb1466fe1fd | |
parent | 798061ded69f1dca639d0c32c14b1b97dc479da1 (diff) | |
download | bcm5719-llvm-36b2a3b0e5c9b363514af2e22e03678ed0287e2e.tar.gz bcm5719-llvm-36b2a3b0e5c9b363514af2e22e03678ed0287e2e.zip |
N3644 support for vector<bool>
llvm-svn: 187911
-rw-r--r-- | libcxx/include/__bit_reference | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/include/__bit_reference b/libcxx/include/__bit_reference index 58d475e4368..857dd5a4303 100644 --- a/libcxx/include/__bit_reference +++ b/libcxx/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 |