PermutationMatrix and Transpositions do not move
## Submitted by Frank Zingsheim
Assigned to **Nobody**
**[Link to original bugzilla bug (#1746)](https://eigen.tuxfamily.org/bz/show_bug.cgi?id=1746)**
**Version**: 3.4 (development)
## Description
Created attachment 951
Patch: Add move-constructor and move-assignment-operator for PermutationMatrix and Transpositions
I realized that the classes PermutationMatrix and Transpositions could
not be moved.
The reason for this is the definition of the copy-construnctor but not
the corresponding move-constructor.
Please find attached a patch which defines the missing move-constructor
and move-assignment operator for PermutationMatrix and Transpositions.
Of cause the additional move-constructor and move-assignment operator
are only activated if EIGEN_HAS_RVALUE_REFERENCES is defined.
Comments to the patch are welcome.
**Patch 951**, "Patch: Add move-constructor and move-assignment-operator for PermutationMatrix and Transpositions":
[PermutationMatrix_Transpositions_Move.patch](/uploads/61688c895c00dd5cbe1e7e944ca0adc3/PermutationMatrix_Transpositions_Move.patch)
issue