MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / main

Function main

06.04-equalComparOfMRN2/main.cpp:54–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52};
53
54int main()
55{
56 MedicalRecordNumber mrn0{};
57 MedicalRecordNumber mrn1{3};
58
59 const bool sameMRN = mrn0 == mrn1;
60 const bool differentMRN = mrn0 != mrn1;
61 const bool sameMRNasNumber = 8 == mrn0;
62 const bool sameMRNasNumberOther = mrn0 == 8;
63}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected