| 376 | |
| 377 | public: |
| 378 | struct Proxy { |
| 379 | bitset_inlined &_bitset; |
| 380 | fl::u32 _pos; |
| 381 | |
| 382 | Proxy(bitset_inlined &bitset, fl::u32 pos) FL_NOEXCEPT |
| 383 | : _bitset(bitset), _pos(pos) {} |
| 384 | |
| 385 | Proxy &operator=(bool value) FL_NOEXCEPT { |
| 386 | _bitset.set(_pos, value); |
| 387 | return *this; |
| 388 | } |
| 389 | |
| 390 | operator bool() const FL_NOEXCEPT { return _bitset.test(_pos); } |
| 391 | }; |
| 392 | |
| 393 | Proxy operator[](fl::u32 pos) FL_NOEXCEPT { return Proxy(*this, pos); } |
| 394 |