| 4 | #include <cstdint> |
| 5 | |
| 6 | class MedicalRecordNumber { |
| 7 | public: |
| 8 | MedicalRecordNumber() = default; |
| 9 | explicit MedicalRecordNumber(uint64_t mrn) |
| 10 | : mMRN{mrn} |
| 11 | {} |
| 12 | |
| 13 | bool operator==(const MedicalRecordNumber& other) const |
| 14 | { |
| 15 | return other.mMRN == mMRN; |
| 16 | } |
| 17 | |
| 18 | bool operator!=(const MedicalRecordNumber& other) const |
| 19 | { |
| 20 | return !(other == *this); |
| 21 | } |
| 22 | |
| 23 | private: |
| 24 | uint64_t mMRN; |
| 25 | }; |
| 26 | |
| 27 | int main() |
| 28 | { |
nothing calls this directly
no outgoing calls
no test coverage detected