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

Class Calc

example/overload.cpp:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24};
25
26class Calc {
27 public:
28 constexpr auto add(int i) { return i; }
29 constexpr auto add(int a, int b) { return a + b; }
30};
31
32int main() {
33 te::poly<Addable> addable{Calc{}};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected