Skip to content

Commit 9b64641

Browse files
sehegennaroprota
authored andcommitted
Add missing friend declaration
Fixes issue #100
1 parent 54c841d commit 9b64641

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/boost/dynamic_bitset/dynamic_bitset.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,6 +1440,8 @@ class bit_iterator_base
14401440
friend BOOST_DYNAMIC_BITSET_CONSTEXPR20 bool operator==( const bit_iterator_base< Iter > & lhs, const bit_iterator_base< Iter > & rhs );
14411441
template< typename Iter >
14421442
friend BOOST_DYNAMIC_BITSET_CONSTEXPR20 bool operator<( const bit_iterator_base< Iter > & lhs, const bit_iterator_base< Iter > & rhs );
1443+
template< typename Iter >
1444+
friend BOOST_DYNAMIC_BITSET_CONSTEXPR20 difference_type operator-( const bit_iterator_base< Iter > & lhs, const bit_iterator_base< Iter > & rhs );
14431445

14441446
protected:
14451447
BOOST_DYNAMIC_BITSET_CONSTEXPR20 void increment();

0 commit comments

Comments
 (0)