| 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 |
| 14 | operator==(const MedicalRecordNumber& other) const = default; |
| 15 | bool operator==(const uint64_t& other) const |
| 16 | { |
| 17 | return other == mMRN; |
| 18 | } |
| 19 | |
| 20 | private: |
| 21 | uint64_t mMRN; |
| 22 | }; |
| 23 | |
| 24 | int main() |
| 25 | { |
nothing calls this directly
no outgoing calls
no test coverage detected