Top "C2664" questions

C2264 is a Compiler Error that occurs when one tries to pass a function a parameter of an incompatible type.

Converting 'const char*' to 'LPCTSTR' for CreateDirectory

#include "stdafx.h" #include <string> #include <windows.h> using namespace std; int main() { string FilePath = "C:\\…

c++ c2664
error C2664: cannot convert parameter 1 from 'int' to 'int (__cdecl *)(int)'

having some trouble passing a function as a parameter of another function... ERROR: Error 1 error C2664: 'wrapper' : cannot convert parameter 1 …

c++ function parameters c2664
Using a template callback function in C++

I want to have a function that checks certain conditions based on a given callback function. Considers this code: class …

c++ templates callback c2664
error C2664 : 'void std::vector<_Ty>::push_back(_Ty&&)': cannot convert parameter 1 from 'Node<T> *' to 'Node<T>&&'

error C2664 : 'void std::vector<_Ty>::push_back(_Ty&&)': cannot convert parameter 1 from 'Node *' …

c++ visual-c++ stl c2664