diff --git a/dune/common/tensor.hh b/dune/common/tensor.hh index 7a65d177b5b77aeb64a6e15cc43425d7cdc4eafa..c40eeeb74f2c9a85ba5759d5d7d44c8c0f8d586b 100644 --- a/dune/common/tensor.hh +++ b/dune/common/tensor.hh @@ -164,6 +164,27 @@ public: : base_type{Std::mdspan(other)} {} + /// \brief Copy constructor with default behavior + constexpr Tensor (const Tensor&) = default; + + /// \brief Move constructor with default behavior + constexpr Tensor (Tensor&&) = default; + + /// @} + + + /// \name Assignment operators + /// @{ + + /// \brief Assignment operators inherited from the mixin class and storage class + using base_type::operator=; + + /// \brief Copy assignment-operator with default behavior + constexpr Tensor& operator= (const Tensor&) = default; + + /// \brief Move assignment-operator with default behavior + constexpr Tensor& operator= (Tensor&&) = default; + /// @}