From d46f2207372c2ca8f39ce4ef3f4b7549a536f528 Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Sun, 12 Nov 2017 12:31:17 +0900 Subject: [PATCH] Removed unused code. --- .../v1/adaptor/detail/cpp11_define_array.hpp | 33 ------------------- 1 file changed, 33 deletions(-) diff --git a/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp b/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp index feddec52..bec4a053 100644 --- a/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +++ b/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp @@ -21,39 +21,6 @@ MSGPACK_API_VERSION_NAMESPACE(v1) { /// @endcond namespace type { -namespace detail { -template -struct get; - -template -struct get> -{ - using type = typename get>::type; -}; - -template -struct get<0, std::tuple> -{ - using type = T; -}; - -template -inline typename std::enable_if< - has_as::value ->::type -unpack_impl(msgpack::object const& o, T& t) { - t = o.as(); -} -template -inline typename std::enable_if< - !has_as::value ->::type -unpack_impl(msgpack::object const& o, T& t) { - o.convert(t); -} - -} // namespace detail - template struct define_array_imp { template