mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-20 22:31:33 +02:00
Undo-ed overly removed constructors.
This commit is contained in:
@@ -43,7 +43,9 @@ namespace type {
|
|||||||
tuple(OtherTypes&&... other):base(std::forward<OtherTypes>(other)...) {}
|
tuple(OtherTypes&&... other):base(std::forward<OtherTypes>(other)...) {}
|
||||||
|
|
||||||
template<typename... OtherTypes>
|
template<typename... OtherTypes>
|
||||||
tuple(tuple<OtherTypes...> && other):base(static_cast<std::tuple<OtherTypes...>>(other)) {}
|
tuple(tuple<OtherTypes...> const& other):base(static_cast<std::tuple<OtherTypes...> const&>(other)) {}
|
||||||
|
template<typename... OtherTypes>
|
||||||
|
tuple(tuple<OtherTypes...> && other):base(static_cast<std::tuple<OtherTypes...> &&>(other)) {}
|
||||||
|
|
||||||
tuple& operator=(tuple const&) = default;
|
tuple& operator=(tuple const&) = default;
|
||||||
tuple& operator=(tuple&&) = default;
|
tuple& operator=(tuple&&) = default;
|
||||||
|
Reference in New Issue
Block a user