MCPcopy Create free account
hub / github.com/BowenFu/hspp / GenericFunction

Method GenericFunction

develop/include/data.h:298–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296 static_assert(nbArgs > 0);
297public:
298 constexpr GenericFunction(Repr func)
299 : mFunc{std::move(func)}
300 {
301 }
302 template <typename Arg>
303 constexpr auto operator()(Arg const& arg) const
304 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected