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 def6a38Copy full SHA for def6a38
tests/testEnumUtils.cpp
@@ -41,6 +41,7 @@ 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; // should compile
45
}
46
47
{
@@ -49,6 +50,7 @@ BOOST_AUTO_TEST_CASE(Operators)
49
50
51
b &= Bitset::B;
52
BOOST_TEST(static_cast<unsigned>(b) == 0b010u);
53
+ (b &= Bitset::A) = Bitset::C; // should compile
54
55
56
0 commit comments