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

Function main

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

Source from the content-addressed store, hash-verified

30// template struct Function<int(int)>;
31
32int main() {
33 // Option 1 or 2 is required on some compilers
34 te::poly<Function<int(int)>> f{[](int i) { return i; }};
35 assert(42 == f(42));
36}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected