Original Post
I'm trying to use the stl map class to hold cells for my game map (irony.) I have a std::map < D3DXVECTOR3, MAPCELL > cells_; with the purpose of allowing my map design to be very flexible. ( All of the rendering code is completely abstracted from this, so dont worry about speed ) Now I try to start inserting map cells. cells_[ D3DXVECTOR3 ( 1.0f, 1.0f, 0.0f ) ] = MAPCELL (...); when I compile I get a long list of errors, all C2784 : "The compiler cannot determine a template argument from the supplied function arguments". I'm pretty new to STL and the vs.net help on the error is a joke. Anyone think they might be able to help me out?