The source project of this merge request has been removed.
Bug #1788: Fix rule-of-three violations.
Compare changes
+ 38
− 1
@@ -1045,11 +1045,48 @@ namespace Eigen {
Actually, protecting the destructors (of MatrixBase
and ArrayBase
) lets the boost_multiprecision
unit tests fail. I guess this part of the patch could just be removed (it only adds a tiny bit of extra security).
The #pragma GCC diagnostic ignored "-Wdeprecated-copy"
could also be put into the global DisableStupidWarnings header.
For the 3.3 branch, I would just add the #pragma