diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-05-10 14:01:40 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-05-10 14:01:40 +0000 |
commit | 19d9cbfb39a46f292fd01890581879e945aea5ba (patch) | |
tree | 455a8c22a62d5d5f539d205de18aba475f982f9a /libcxx/include/__bit_reference | |
parent | 4ad375f0a931b918d1c1c95c60ed852751e19de6 (diff) | |
download | llvm-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_reference | 4 |
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 |