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

Method Function

include/hspp.h:1061–1064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1059public:
1060 template <typename F>
1061 constexpr Function(F func)
1062 : mFunc{std::move(func)}
1063 {
1064 }
1065 constexpr auto operator()(Arg const& arg) const
1066 {
1067 if constexpr (sizeof...(Rest) == 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected