MCPcopy Create free account
hub / github.com/NativeScript/android / invoke

Function invoke

test-app/runtime/src/main/cpp/ada/ada.h:1902–1906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1900#endif
1901 typename = enable_if_t<std::is_member_pointer<decay_t<Fn>>::value>, int = 0>
1902constexpr auto invoke(Fn &&f, Args &&...args) noexcept(
1903 noexcept(std::mem_fn(f)(std::forward<Args>(args)...)))
1904 -> decltype(std::mem_fn(f)(std::forward<Args>(args)...)) {
1905 return std::mem_fn(f)(std::forward<Args>(args)...);
1906}
1907
1908template <typename Fn, typename... Args,
1909 typename = enable_if_t<!std::is_member_pointer<decay_t<Fn>>::value>>

Calls

no outgoing calls

Tested by

no test coverage detected