mirror of
https://github.com/boostorg/core.git
synced 2025-11-29 05:40:14 +01:00
Add popcount
This commit is contained in:
@@ -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