We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94eef0d commit fae1e7fCopy full SHA for fae1e7f
test/bitset_test.hpp
@@ -354,6 +354,8 @@ struct bitset_test
354
max_size( const Bitset & b )
355
{
356
BOOST_TEST( b.max_size() > 0 );
357
+ BOOST_TEST( b.max_size() >= b.size() );
358
+ BOOST_TEST( b.max_size() / Bitset::bits_per_block <= boost::allocator_max_size( b.get_allocator() ) );
359
}
360
361
// move constructor (absent from std::bitset)
0 commit comments