[Solved] Problem with pushing into stack with generic type [closed]
[ad_1] Your question misses important details and actually I shouldnt be writing this answer, but as you actually also didnt ask a question, I just do it. This error message: error: no matching function for call to ‘AlgoStack<State<std::pair<int, int>* >>::push(State<std::pair<int, int> >*&)’ tells us that there is an instantiation of AlgoStack with the template parameter … Read more