forked from boostorg/core
Add popcount
This commit is contained in:
1 parent
dc8aa5eb39
commit
409c809cd8
4 files changed
+84
-3
No files matched your search
@@ -12,7 +12,7 @@
|
||||
|
||||
template<class T> void test_single_bit( T x )
|
||||
{
|
||||
// BOOST_TEST_EQ( boost::core::has_single_bit( x ), boost::core::popcount( x ) == 1 );
|
||||
BOOST_TEST_EQ( boost::core::has_single_bit( x ), boost::core::popcount( x ) == 1 );
|
||||
}
|
||||
|
||||
int main()
|
||||
|
||||
Reference in new issue
Block a user