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

Method Function

develop/include/data.h:239–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237public:
238 template <typename F>
239 constexpr Function(F func)
240 : mFunc{std::move(func)}
241 {
242 }
243 constexpr auto operator()(Arg const& arg) const
244 {
245 if constexpr (sizeof...(Rest) == 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected