Bug: https://bugs.gentoo.org/623492 Backported from: https://github.com/msgpack/msgpack-c/commit/66a5fcf8f1a9e57b02904a6ac55a86a9c74ea1de --- a/include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp +++ b/include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp @@ -46,13 +46,14 @@ public: using base = std::tuple; - using base::base; - tuple() = default; tuple(tuple const&) = default; tuple(tuple&&) = default; template + tuple(OtherTypes&&... other):base(std::forward(other)...) {} + + template tuple(tuple const& other):base(static_cast const&>(other)) {} template tuple(tuple && other):base(static_cast &&>(other)) {}