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 --- host/lib/deps/rpclib/include/rpc/detail/any.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 host/lib/deps/rpclib/include/rpc/detail/any.h (limited to 'host/lib/deps/rpclib/include/rpc/detail/any.h') diff --git a/host/lib/deps/rpclib/include/rpc/detail/any.h b/host/lib/deps/rpclib/include/rpc/detail/any.h new file mode 100644 index 000000000..09ffb81cf --- /dev/null +++ b/host/lib/deps/rpclib/include/rpc/detail/any.h @@ -0,0 +1,21 @@ +#pragma once + +#ifndef ANY_H_4G3QUOAN +#define ANY_H_4G3QUOAN + +#include "rpc/detail/invoke.h" +#include "rpc/detail/if.h" +#include "rpc/detail/bool.h" + +namespace rpc { +namespace detail { + +//! \brief Evaluates to true_type if any of its arguments is true_type. +template struct any : false_ {}; + +template +struct any : if_> {}; +} +} + +#endif /* end of include guard: ANY_H_4G3QUOAN */ -- cgit v1.2.3