Need one more swap overload for swapping two lvalue vector<bool>::reference's.
llvm-svn: 178016
diff --git a/libcxx/include/__bit_reference b/libcxx/include/__bit_reference
index 8180295..1621deb 100644
--- a/libcxx/include/__bit_reference
+++ b/libcxx/include/__bit_reference
@@ -81,6 +81,16 @@
{
};
+template <class _Cp>
+_LIBCPP_INLINE_VISIBILITY inline
+void
+swap(__bit_reference<_Cp> __x, __bit_reference<_Cp> __y) _NOEXCEPT
+{
+ bool __t = __x;
+ __x = __y;
+ __y = __t;
+}
+
template <class _Cp, class _Dp>
_LIBCPP_INLINE_VISIBILITY inline
void