[Solved] C++ Templates Error: no matching function for call


You are trying to call a function that takes a reference with a temporary. A temporary can only bind to a reference to const. Also, it would be wise to show, where the error actually originated.

solved C++ Templates Error: no matching function for call