Menu

#2 undesirably assertion failure

open
nobody
None
5
2011-01-17
2011-01-17
David Koes
No

operator= doesn't overwrite the block manager values with those of the rhs potentially resulting in an unexpected
Assertion `top_blocks >= bvect_top_blocks'

#include <bm/bm.h>

typedef bm::bvector<bm::standard_allocator> bvect;

int main()
{
bvect x;
bvect y(2048);
x = bvect(2048);
y &= x;
return 0;
}

Discussion


Log in to post a comment.