We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb0617b + f642b70 commit 66a5fcfCopy full SHA for 66a5fcf
include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp
@@ -36,12 +36,13 @@ namespace type {
36
public:
37
using base = std::tuple<Types...>;
38
39
- using base::base;
40
41
- tuple() = default;
42
tuple(tuple const&) = default;
43
tuple(tuple&&) = default;
44
+ template<typename... OtherTypes>
+ tuple(OtherTypes&&... other):base(std::forward<OtherTypes>(other)...) {}
45
+
46
template<typename... OtherTypes>
47
tuple(tuple<OtherTypes...> const& other):base(static_cast<std::tuple<OtherTypes...> const&>(other)) {}
48
0 commit comments