folly::match_static_lambda_protocol_v

True if type F matches the static-lambda protocol (empty and trivially copyable).

Synopsis

Declared in <folly/functional/protocol.h>

template<typename F>
constexpr static
bool match_static_lambda_protocol_v = ( //
        std::is_empty<F>::value && //
        std::is_trivially_copyable_v<F> && //
        true);