Aliasing doc: explain that some cases are detected, reverse order examples.

This commit is contained in:
Jitse Niesen
2010-08-08 21:20:14 +01:00
parent 3dd8225862
commit 530b328769
2 changed files with 46 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
Matrix3i mat;
MatrixXi mat(3,3);
mat << 1, 2, 3, 4, 5, 6, 7, 8, 9;
cout << "Here is the matrix mat:\n" << mat << endl;
mat.bottomRightCorner(2,2) = mat.topLeftCorner(2,2);