prog.cpp:5: error: ISO C++ forbids declaration of ‘Elem’ with no type
prog.cpp:5: error: extra qualification ‘simpleList::’ on member ‘Elem’
prog.cpp:5: error: expected ‘;’ before ‘*’ token
prog.cpp:8: error: ISO C++ forbids declaration of ‘Elem’ with no type
prog.cpp:8: error: extra qualification ‘simpleList::’ on member ‘Elem’
prog.cpp:8: error: expected ‘;’ before ‘*’ token
prog.cpp:20: error: no ‘simpleList::Elem* simpleList::front()’ member function declared in class ‘simpleList’
prog.cpp:11: error: ‘struct simpleList::Elem’ is private
prog.cpp:20: error: within this context
prog.cpp:26: error: no ‘simpleList::Elem* simpleList::back()’ member function declared in class ‘simpleList’
prog.cpp:11: error: ‘struct simpleList::Elem’ is private
prog.cpp:26: error: within this context