Files
modern-cpp-tutorial/code/10/10.1.without.concepts.cpp
2019-07-19 18:33:06 +02:00

18 lines
335 B
C++

//
// 10.1.without.concepts.cpp
// chapter 10 cpp20
// modern c++ tutorial
//
// created by changkun at changkun.de
// https://github.com/changkun/modern-cpp-tutorial
//
#include <list>
#include <algorithm>
int main() {
std::list<int> l = {1, 2, 3};
// std::sort(l.begin(), l.end()); // tons of compile error
return 0;
}