Hello. I make my map implementation, and such a construction does not allow the project to compile.
void traverse(node<key, value> p, list<node<key, value>> &l) { ... } The error is this:
Error C2061 syntax error: identifier "list"
list is standard, from the stl library.
Put spaces among the brackets, nothing helps.
std::list? - Qwertiy ♦#include <list>or they did not addusing namespace std;. - Vladimir Gamalyan