System::Collections::BitArray::Reference 类

Reference class

Reference class to allow treating BitArray elements in contexts where bool is required.

class Reference

方法

方法描述
operator bool() const将引用的值转换为 bool。
operator&=(bool)赋值结束运算符。
operator-=(bool)赋值减法运算符。
operator=(bool)设置引用位的值。
operator=(const Reference&)复制位的值。
operator^=(bool)赋值异或运算符。
[operator=](./operator_=/)(bool)
operator~() const反转引用的值。
~Reference()删除引用。

另见