typedef vector<vector<vector<double> > > vMatrix;
-
i am trying to create a 3D matrix vMatrix[x][y][z] getting warning message: warning C4786: 'std::vector >,std::allocator > > >,std::allocator >,std::allocator > > > > >' : identifier was truncated to '255' characters in the debug information any ideas? (i know i can always ignore warnings but i want to know why) :omg: cheers,
-
i am trying to create a 3D matrix vMatrix[x][y][z] getting warning message: warning C4786: 'std::vector >,std::allocator > > >,std::allocator >,std::allocator > > > > >' : identifier was truncated to '255' characters in the debug information any ideas? (i know i can always ignore warnings but i want to know why) :omg: cheers,
Template instance names in the STL, when fully expanded by the compiler, often result in truly awe-inspiring identifiers that exceed the 255-character limit for identifiers in the debug info. Remember that many STL templates take a number of optional extra template parameters that specify such things as allocators, sorting rules, and hash traits. The compiler fills in these parameters with default values when generating the instance. I've found this warning to be generally harmless. You can selectively disable it with:
#pragma warning(disable:4786)
- Mike