summaryrefslogtreecommitdiff
path: root/libcxx/include/__bit_reference
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-05-10 14:01:40 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-05-10 14:01:40 +0000
commit19d9cbfb39a46f292fd01890581879e945aea5ba (patch)
tree455a8c22a62d5d5f539d205de18aba475f982f9a /libcxx/include/__bit_reference
parent4ad375f0a931b918d1c1c95c60ed852751e19de6 (diff)
downloadllvm-19d9cbfb39a46f292fd01890581879e945aea5ba.tar.gz
Add friends __count_bool_true and __count_bool_false to __bit_iterator.
llvm-svn: 156543
Diffstat (limited to 'libcxx/include/__bit_reference')
-rw-r--r--libcxx/include/__bit_reference4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/__bit_reference b/libcxx/include/__bit_reference
index bc34555aa079..95a1007bee7a 100644
--- a/libcxx/include/__bit_reference
+++ b/libcxx/include/__bit_reference
@@ -1242,6 +1242,10 @@ private:
typename _Dp::size_type);
template <class _Dp> friend __bit_iterator<_Dp, false> __find_bool_false(__bit_iterator<_Dp, false>,
typename _Dp::size_type);
+ template <class _Dp> friend typename __bit_iterator<_Dp, false>::difference_type
+ __count_bool_true(__bit_iterator<_Dp, false>, typename _Dp::size_type);
+ template <class _Dp> friend typename __bit_iterator<_Dp, false>::difference_type
+ __count_bool_false(__bit_iterator<_Dp, false>, typename _Dp::size_type);
};
_LIBCPP_END_NAMESPACE_STD