MCPcopy Create free account
hub / github.com/boost-ext/te / Calc

Class Calc

example/macro.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17};
18
19class Calc {
20 public:
21 constexpr auto add(int i) { return i; }
22 constexpr auto add(int a, int b) { return a + b; }
23};
24
25int main() {
26 te::poly<Addable> addable{Calc{}};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected