Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ BCD
Method
BCD
06.13-bcd1/main.cpp:8–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
class BCD {
7
public:
8
BCD(int v, int significance)
9
: mSignificance{significance}
10
, mValue{Adjust(v)}
11
{}
12
13
operator int() const { return mValue; }
14
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected