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 67d167d commit 327c17cCopy full SHA for 327c17c
tests/testEnumUtils.cpp
@@ -41,6 +41,8 @@ BOOST_AUTO_TEST_CASE(Operators)
41
BOOST_TEST(static_cast<unsigned>(b) == 0b001u);
42
b |= Bitset::B;
43
BOOST_TEST(static_cast<unsigned>(b) == 0b011u);
44
+ (b |= Bitset::A) = Bitset::C;
45
+ BOOST_CHECK(b == Bitset::C);
46
}
47
48
{
@@ -49,6 +51,8 @@ BOOST_AUTO_TEST_CASE(Operators)
49
51
50
52
b &= Bitset::B;
53
BOOST_TEST(static_cast<unsigned>(b) == 0b010u);
54
+ (b &= Bitset::A) = Bitset::C;
55
56
57
58
0 commit comments