Skip to content

Commit

Permalink
Backported msgpack#426 to version 1.4.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
redboltz committed Feb 20, 2016
1 parent cabd8a8 commit f642b70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp
Expand Up @@ -36,12 +36,13 @@ namespace type {
public:
using base = std::tuple<Types...>;

using base::base;

tuple() = default;
tuple(tuple const&) = default;
tuple(tuple&&) = default;

template<typename... OtherTypes>
tuple(OtherTypes&&... other):base(std::forward<OtherTypes>(other)...) {}

template<typename... OtherTypes>
tuple(tuple<OtherTypes...> const& other):base(static_cast<std::tuple<OtherTypes...> const&>(other)) {}
template<typename... OtherTypes>
Expand Down

0 comments on commit f642b70

Please sign in to comment.