MCPcopy Create free account
hub / github.com/Naios/function2 / can_invoke

Class can_invoke

include/function2/function2.hpp:262–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260/// SFINAE here.
261template <typename T, typename Args, typename = void>
262struct can_invoke : std::false_type {};
263template <typename T, typename... Args>
264struct can_invoke<T, identity<Args...>,
265 decltype((void)std::declval<T>()(std::declval<Args>()...))>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected