## Reference class


[Reference](./) class to allow treating [BitArray](../) elements in contexts where bool is required.

```cpp
class Reference
```

## 方法

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

* Class [BitArray](../)
* Namespace [System::Collections](../../)
* Library [Aspose.Font for C++](../../../)
