2003-02-04 08:41:54 +00:00
|
|
|
// (C) Copyright Jeremy Siek 2000. Permission to copy, use, modify,
|
|
|
|
|
// sell and distribute this software is granted provided this
|
|
|
|
|
// copyright notice appears in all copies. This software is provided
|
|
|
|
|
// "as is" without express or implied warranty, and with no claim as
|
|
|
|
|
// to its suitability for any purpose.
|
|
|
|
|
|
2000-10-29 21:48:06 +00:00
|
|
|
#include <list>
|
|
|
|
|
#include <algorithm>
|
|
|
|
|
|
2000-12-19 18:12:41 +00:00
|
|
|
int main() {
|
|
|
|
|
std::list<int> v;
|
2000-10-29 21:48:06 +00:00
|
|
|
std::stable_sort(v.begin(), v.end());
|
|
|
|
|
return 0;
|
|
|
|
|
}
|