| 46 | |
| 47 | constexpr void MakeInvalid() { this->id = Source::Invalid; } |
| 48 | constexpr void SetIndex(SourceID index) { this->id = index; } |
| 49 | constexpr void SetIndex(ConvertibleThroughBase auto index) { this->id = index.base(); } |
| 50 | |
| 51 | constexpr bool IsValid() const noexcept { return this->id != Source::Invalid; } |
no test coverage detected