#include "simple_list.h" #include int main() { List X; X.push_front(3); X.push_front(2); X.push_front(1); for (List::Node* it = X.begin(); it; it = it->next ) cout << it->data << endl; X.reverse(); for (List::Node* it = X.begin(); it; it = it->next ) cout << it->data << endl; }