mirror of
https://github.com/boostorg/concept_check.git
synced 2026-01-26 08:42:18 +01:00
12 lines
206 B
C++
12 lines
206 B
C++
#include <list>
|
|
#include <algorithm>
|
|
|
|
struct foo {
|
|
bool operator<(const foo&) const { return false; }
|
|
};
|
|
int main(int, char*[]) {
|
|
std::list<foo> v;
|
|
std::stable_sort(v.begin(), v.end());
|
|
return 0;
|
|
}
|