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

Class Addable

test/te.cpp:381–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379};
380
381struct Addable {
382 auto add(int i) {
383 return te::call<int>(
384 [](auto &self, auto... args) { return self.add(args...); }, *this, i);
385 }
386 auto add(int a, int b) {
387 return te::call<int>(
388 [](auto &self, auto... args) { return self.add(args...); }, *this, a,
389 b);
390 }
391};
392
393class Calc {
394 public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected