Hi all,
I have a class template and I am trying to use its memeber function in my project.I have passed all the parameters to this function but still I get warning as
////warning C4244: 'argument' : conversion from 'uint64' to 'size_t', possible loss of data
1> while compiling class template member function 'void R<T>::writ(cons t uint64,T *const ,const uint64)'
1> with
1> [
1> T=float
1> ]
1> .\filt.cpp(61) : see reference to class template instantiation 'R<T>' being compiled
1> with
1> [
1> T=float
1> ]
///////////////////////////////////////////////
filt.cpp is my project's source file and R is class template I am using it.I have used the pointer to this class template as
R <float> *ptr=NULLL;
ptr->writ( passed the necessary arguments);
I am not able to understand where my error is.Could anyone please help me with this?Thanks in advance.
I have a class template and I am trying to use its memeber function in my project.I have passed all the parameters to this function but still I get warning as
////warning C4244: 'argument' : conversion from 'uint64' to 'size_t', possible loss of data
1> while compiling class template member function 'void R<T>::writ(cons t uint64,T *const ,const uint64)'
1> with
1> [
1> T=float
1> ]
1> .\filt.cpp(61) : see reference to class template instantiation 'R<T>' being compiled
1> with
1> [
1> T=float
1> ]
///////////////////////////////////////////////
filt.cpp is my project's source file and R is class template I am using it.I have used the pointer to this class template as
R <float> *ptr=NULLL;
ptr->writ( passed the necessary arguments);
I am not able to understand where my error is.Could anyone please help me with this?Thanks in advance.
Comment