AMDG On 11/02/2011 04:32 PM, Sunil Thomas wrote:
Thanks Steve & Nate,
What I am building is a library.. not a main application. My main application is in unit test libraries. But building the library itself is generating the error. The class and its implementation is defined entirely in the header, say, cinc.h and I forgot to include a typedef after the class definition:
<snip>
/cinc.hpp(255) : while compiling class template member function 'void C<>::assign(const unsigned __int64 &)' /cinc.hpp(83): error C2338: N==1*
You've snipped something important. I don't see a definition of assign in your code. Figure out how and why assign is called with 1 argument and that should explain why your code doesn't compile.
I don't see myself doing anything different than what Steve did in his main.. and again, why was this building with MSVC++ 2008 (granted, that N defaults to 3 and all)? Anyways, hope this was more helpful.
In Christ, Steven Watanabe