|
@@ -679,7 +679,7 @@ public:
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR bitset() _NOEXCEPT {}
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR bitset() _NOEXCEPT {}
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
|
|
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
|
|
bitset(unsigned long long __v) _NOEXCEPT : base(__v) {}
|
|
bitset(unsigned long long __v) _NOEXCEPT : base(__v) {}
|
|
- template<class _CharT>
|
|
|
|
|
|
+ template<class _CharT, class = _EnableIf<_IsCharLikeType<_CharT>::value> >
|
|
explicit bitset(const _CharT* __str,
|
|
explicit bitset(const _CharT* __str,
|
|
typename basic_string<_CharT>::size_type __n = basic_string<_CharT>::npos,
|
|
typename basic_string<_CharT>::size_type __n = basic_string<_CharT>::npos,
|
|
_CharT __zero = _CharT('0'), _CharT __one = _CharT('1'));
|
|
_CharT __zero = _CharT('0'), _CharT __one = _CharT('1'));
|
|
@@ -760,7 +760,7 @@ private:
|
|
};
|
|
};
|
|
|
|
|
|
template <size_t _Size>
|
|
template <size_t _Size>
|
|
-template<class _CharT>
|
|
|
|
|
|
+template<class _CharT, class>
|
|
bitset<_Size>::bitset(const _CharT* __str,
|
|
bitset<_Size>::bitset(const _CharT* __str,
|
|
typename basic_string<_CharT>::size_type __n,
|
|
typename basic_string<_CharT>::size_type __n,
|
|
_CharT __zero, _CharT __one)
|
|
_CharT __zero, _CharT __one)
|