Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ main
Function
main
06.14-bcdConstexpr/main.cpp:31–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
}
30
31
int main()
32
{
33
constexpr BCD a{10, 0};
34
constexpr BCD b{0, 1};
35
36
static_assert(a != b);
37
static_assert(a < b);
38
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected