diff options
Diffstat (limited to 'host/lib/deps/rpclib/include/rpc/detail/constant.h')
-rw-r--r-- | host/lib/deps/rpclib/include/rpc/detail/constant.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/host/lib/deps/rpclib/include/rpc/detail/constant.h b/host/lib/deps/rpclib/include/rpc/detail/constant.h new file mode 100644 index 000000000..1c373b3a2 --- /dev/null +++ b/host/lib/deps/rpclib/include/rpc/detail/constant.h @@ -0,0 +1,17 @@ +#pragma once + +#ifndef CONSTANT_H_5CXUYJEW +#define CONSTANT_H_5CXUYJEW + +#include <type_traits> + +namespace rpc { +namespace detail { + +template<typename T, T I> +struct constant : std::integral_constant<T, I> {}; + +} +} + +#endif /* end of include guard: CONSTANT_H_5CXUYJEW */ |