Backported #426 to version 1.4.0.

This commit is contained in:
Takatoshi Kondo 2016-02-20 19:09:18 +09:00
parent cabd8a8a03
commit f642b70e6a

View File

@ -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>