void Demo() { list l1; list l2; list::iterator it = l1.begin(); // l1和l2的迭代器搞混了 while (it != l2.end()) { ++it; } }