MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / invoke

Method invoke

unittests/catch.hpp:490–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488 TestInvokerAsMethod( void (C::*testAsMethod)() ) noexcept : m_testAsMethod( testAsMethod ) {}
489
490 void invoke() const override {
491 C obj;
492 (obj.*m_testAsMethod)();
493 }
494};
495
496auto makeTestInvoker( void(*testAsFunction)() ) noexcept -> ITestInvoker*;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected