Sha256: 679fd0765408714d4be46927255f8118c8f6a834e7de354f48396bb8940ef54f
Contents?: true
Size: 1.94 KB
Versions: 8
Compression:
Stored size: 1.94 KB
Contents
// // MessagePack for C++ static resolution routine // // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef MSGPACK_V1_CPP03_MSGPACK_TUPLE_DECL_HPP #define MSGPACK_V1_CPP03_MSGPACK_TUPLE_DECL_HPP #include "msgpack/versioning.hpp" #include "msgpack/object.hpp" #include "msgpack/adaptor/adaptor_base.hpp" namespace msgpack { /// @cond MSGPACK_API_VERSION_NAMESPACE(v1) { /// @endcond namespace type { // FIXME operator== // FIXME operator!= <% GENERATION_LIMIT = 31 %> /// @cond template <typename A0 = void<%1.upto(GENERATION_LIMIT+1) {|i|%>, typename A<%=i%> = void<%}%>> struct tuple; /// @endcond template <typename Tuple, int N> struct tuple_element; template <typename Tuple, int N> struct const_tuple_element; template <typename T> struct tuple_type; /// @cond <%0.upto(GENERATION_LIMIT) {|i|%> template <int N, typename A0<%1.upto(i) {|j|%>, typename A<%=j%><%}%>> typename type::tuple_element<type::tuple<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>>, N>::reference get(type::tuple<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>>& t); template <int N, typename A0<%1.upto(i) {|j|%>, typename A<%=j%><%}%>> typename type::const_tuple_element<type::tuple<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>>, N>::const_reference get(type::tuple<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>> const& t); <%}%> /// @endcond tuple<> make_tuple(); /// @cond <%0.upto(GENERATION_LIMIT) {|i|%> template <typename A0<%1.upto(i) {|j|%>, typename A<%=j%><%}%>> tuple<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>> make_tuple(typename tuple_type<A0>::transparent_reference a0<%1.upto(i) {|j|%>, typename tuple_type<A<%=j%>>::transparent_reference a<%=j%><%}%>); <%}%> /// @endcond } // namespace type /// @cond } // MSGPACK_API_VERSION_NAMESPACE(v1) /// @endcond } // namespace msgpack #endif // MSGPACK_V1_CPP03_MSGPACK_TUPLE_DECL_HPP
Version data entries
8 entries across 8 versions & 1 rubygems