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

Method BCD

06.12-bcd0/main.cpp:9–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7class BCD {
8public:
9 BCD(int v)
10 : mValue{Adjust(v)}
11 {}
12
13 // #A Make BCD convertible to int
14 operator int() const { return mValue; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected