From 53795c74aead4e6021bc788b788f8ed5b4a0166d Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Mon, 3 Apr 2017 18:49:58 -0700 Subject: uhd: add cut-down rpclib source tree and import tool --- .../deps/rpclib/include/rpc/detail/func_tools.h | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 host/lib/deps/rpclib/include/rpc/detail/func_tools.h (limited to 'host/lib/deps/rpclib/include/rpc/detail/func_tools.h') diff --git a/host/lib/deps/rpclib/include/rpc/detail/func_tools.h b/host/lib/deps/rpclib/include/rpc/detail/func_tools.h new file mode 100644 index 000000000..4f18e482d --- /dev/null +++ b/host/lib/deps/rpclib/include/rpc/detail/func_tools.h @@ -0,0 +1,26 @@ +#pragma once + +#ifndef FUNC_TOOLS_H_9FNRD4G2 +#define FUNC_TOOLS_H_9FNRD4G2 + +#include "rpc/detail/invoke.h" +#include "rpc/detail/all.h" +#include "rpc/detail/any.h" + +namespace rpc { +namespace detail { + + +enum class enabled {}; + +template +using enable_if = invoke::value, enabled>>; + +template +using disable_if = invoke::value, enabled>>; + + +} +} + +#endif /* end of include guard: FUNC_TOOLS_H_9FNRD4G2 */ -- cgit v1.2.3