我有以下代码,表示3D应用程序中的网格(为清楚起见省略了一些代码):classMesh{public:typedefstd::vectorVertices;typedefstd::vectorElements;templateMesh(constVerticesItverticesBegin,constVerticesItverticesEnd,constElementsItelementsBegin,constElementsItelementsEnd):vertices_(verticesBegin,verticesEnd),elements_(elementsBegin,elem