Add manual doc on STL-compatible iterators

This commit is contained in:
Gael Guennebaud
2018-11-12 22:06:33 +01:00
parent 0105146915
commit c81bdbdadc
6 changed files with 46 additions and 51 deletions

View File

@@ -0,0 +1,4 @@
Array4i v = Array4i::Random().abs();
cout << "Here is the initial vector v:\n" << v.transpose() << "\n";
std::sort(v.begin(), v.end());
cout << "Here is the sorted vector v:\n" << v.transpose() << "\n";