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

Function main

example/overload.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30};
31
32int main() {
33 te::poly<Addable> addable{Calc{}};
34 assert(3 == addable.add(3));
35 assert(3 == addable.add(1, 2));
36}

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected