how to write definition head for a template function that returns enum.
I got a template funciton List<List_entry>::print_List(){code..} but I dont get how to return an enum.
My current head is :
template<class List_entry> List<List_entry>::Error_code List<List_entry>::put(const List_entry &x){code..}
but it errors me that I need 'typename' before 'List<List_entry>::Error_code' because 'List<List_entry>' is a dependent scope. I dont get what that means. Help please