From a4f41f84b5fc25d8bcbb3839aee11f3f05e1b186 Mon Sep 17 00:00:00 2001 From: sha512sum Date: Mon, 4 Mar 2024 18:51:33 +0000 Subject: [PATCH] Add operator= for tuple --- include/utempl/tuple.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/utempl/tuple.hpp b/include/utempl/tuple.hpp index 7b819f9..72ad36f 100644 --- a/include/utempl/tuple.hpp +++ b/include/utempl/tuple.hpp @@ -66,6 +66,9 @@ struct Tuple : public impl::TupleHelper, Ts...> { inline constexpr Tuple(const Tuple&) = default; inline constexpr Tuple(Tuple&&) = default; inline constexpr Tuple(Tuple&) = default; + inline constexpr Tuple& operator=(const Tuple&) = default; + inline constexpr Tuple& operator=(Tuple&&) = default; + inline constexpr Tuple& operator=(Tuple&) = default; inline constexpr Tuple() : impl::TupleHelper, Ts...>() {}; template